bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bugs #11801] fluid-let problems in the presence of threads


From: Dean Ferreyra
Subject: [Bug-kawa] [bugs #11801] fluid-let problems in the presence of threads
Date: Tue, 1 Feb 2005 04:20:32 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11801>

                 Summary: fluid-let problems in the presence of threads
                 Project: Kawa
            Submitted by: dferreyra
            Submitted on: Tue 02/01/2005 at 04:20
                Category: Scheme language
                Severity: 5 - Average
              Item Group: Unexpected result
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

The attached patch adds a test to the testsuite that is a distilled version
of a regression test we (at Merced Systems) have that fails when I compile it
using the latest Kawa sources.  For me this test mostly fails, though
occasionally it passes.



The test starts a bunch of threads and each is eventually supposed to return
the value representing its starting order.  Before returning its value, the
thread runs the value through a dynamic variable: first it assigns the value
with fluid-let, and then it calls a function to read back the value of the
dynamic variable.  I believe each thread should get back the value it set
through fluid-let, but sometimes it gets back the value of another thread,
sometimes the initial value of #f, and sometimes even #!null.



I have tried this against a version of 1.7.90 that we're using and it's
passed every time I've tried it.



I hope I'm not overlooking some order-of-evaluation issue here.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 02/01/2005 at 04:20  Name: threads.diff  Size: 1.05KB   By:
dferreyra
Patch to testsuite to exercise dynamic variables with threads
<http://savannah.gnu.org/bugs/download.php?item_id=11801&item_file_id=2133>

    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11801>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]