chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!)


From: Chicken Trac
Subject: [Chicken-janitors] Re: #340: Spiffy hangs occasionally (again!)
Date: Wed, 25 Aug 2010 07:17:52 -0000

#340: Spiffy hangs occasionally (again!)
----------------------+-----------------------------------------------------
  Reporter:  sjamaan  |       Owner:  felix                                     
     
      Type:  defect   |      Status:  assigned                                  
     
  Priority:  major    |   Milestone:                                            
     
 Component:  wiki     |     Version:  4.5.x                                     
     
Resolution:           |    Keywords:  spiffy, wiki, hang, call-cc.org, 
infrastructure
----------------------+-----------------------------------------------------

Comment(by sjamaan):

 There doesn't seem to be a way to count them except loop from zero to
 FD_SETSIZE and doing an FD_ISSET check.

 You can't even compare with FD_ZERO because the implementation is (allowed
 to be) an array of elements, which means you'd just be comparing pointers.

 We could keep a shadow copy around in Scheme as a list and use that to
 count the set size... Checking for the empty list is simple enough.
 Keeping it synced shouldn't be hard, but of course it's a little annoying.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/340#comment:9>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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