chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] New egg: hopefully


From: Jörg F . Wittenberger
Subject: Re: [Chicken-users] New egg: hopefully
Date: Sat, 19 Dec 2015 22:10:05 +0100
User-agent: Mozilla/5.0 (X11; Linux armv7l; rv:38.0) Gecko/20100101 Icedove/38.4.0

Am 18.12.2015 um 23:37 schrieb Sudarshan S Chawathe:
> Thanks for the updated pointer to the source.
> 
> I installed the egg in the usual way ('chicken-install' in the directory
> with the source files) but could not run the included test
> (test/run.scm) successfully, although csc compiles it fine.  (Details
> below.)  In interactive use, I get an error:
> 
>   cannot load extension: hopefully-intern
> 
> Perhaps I'm missing something obvious, or perhaps the tests/run.scm is
> for internal use only?  

It's actually supposed to be runable.  Though it does open internal
modules for testing.

I just released a minor update (which should only impact performance).
Please try that one.  I just did rm hopefully* from my repository, thus
it should no longer find the module under the outdated name... and still
run.scm compiled for me.  But you never know.

I'm glad you're trying this out.  But before you use it too much, please
see the new "Issues" section:

http://wiki.call-cc.org/eggref/4/hopefully

Comments very much appreciated.

CU

/Jörg

> 
> Regards,
> 
> -chaw
> 
> 
> $ csc run.scm 
> $ ./run 
> D Initial: set
> D Value in other thread is unchanged...: 9
> D #<thread: thread5>: also in other thread former ref is still unchanged...
> D even after commit.  (Note: tests caching of references to fields.): 9
> D Value in other thread is unchanged...: 9
> D Second round expecting changed value: 252
> D #<thread: thread5>: also in other thread former ref is still unchanged...
> D even after commit.  (Note: tests caching of references to fields.): 9
> 
> Error: (run.scm:161) assertion failed: (= (obox-v b1) 455)
> 
>       Call history:
> 
>       run.scm:159: step!        
>       run.scm:123: mutex-unlock!        
>       hopefully.scm:224: transaction-commit!    
>       hopefully.scm:165: hopefully-intern-atomics#stmtnx-owner          
>       hopefully.scm:167: hopefully-intern-atomics#stmtnx-id     
>       hopefully.scm:168: hopefully-intern-atomics#stmtnx-refs   
>       hopefully.scm:199: loop   
>       hopefully.scm:196: loop   
>       hopefully.scm:186: loop   
>       hopefully.scm:177: hopefully-intern-atomics#transaction-close!    
>       hopefully-intern-atomics.scm:119: transaction-reset!      
>       hopefully-intern-atomics.scm:33: ##sys#block-set!         
>       run.scm:161: obox-v       
>       run.scm:22: hopefully-intern-atomics#current-transaction          
>       hopefully-intern-atomics.scm:68: %current-transaction     
>       run.scm:161: ##sys#error                <--
> $ 
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users
> 




reply via email to

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