guile-devel
[Top][All Lists]
Advanced

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

Re: Race condition in threading code?


From: Julian Graham
Subject: Re: Race condition in threading code?
Date: Sat, 16 Aug 2008 14:42:02 -0400

Hmmm... I don't recall seeing those when I was writing that test
suite.  Just to be clear, were you getting those errors before making
your changes?


On Sat, Aug 16, 2008 at 2:21 PM, Han-Wen Nienhuys <address@hidden> wrote:
> Hi there,
>
> I have finished my GC cleanup.  It mostly seems to work, but I get transient 
> errors in the srfi-18 test.
>
> I am suspecting a race condition in the eval module
>
> WARNING: (srfi srfi-18): imported module (srfi srfi-34) overrides core 
> binding `raise'
> ERROR: srfi-18.test: thread-start!: thread activates only after start - 
> arguments: ((syntax-error "memoization" "In file ~S, line ~S: ~A ~S in 
> expression ~S." ("/home/lilydev/vc/guile/srfi/srfi-18.scm" 135 "Bad binding" 
> ct (let (ct (current-thread)) address@hidden (or (hashq-ref 
> thread-exception-handlers ct) (hashq-set! thread-exception-handlers ct (list 
> initial-handler))))) #f))
> ERROR: srfi-18.test: thread-terminate!: termination destroys non-started 
> thread - arguments: ((syntax-error "memoization" "In file ~S, line ~S: ~A ~S 
> in expression ~S." ("/home/lilydev/vc/guile/srfi/srfi-18.scm" 135 "Bad 
> binding" ct (let (ct (current-thread)) address@hidden (or (hashq-ref 
> thread-exception-handlers ct) (hashq-set! thread-exception-handlers ct (list 
> initial-handler))))) #f))




reply via email to

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