00:24:57 -!- aspires [~aspires@173.247.205.34] has quit [Quit: sudo making a sandwich] 02:58:01 aspires [~aspires@c-76-21-57-49.hsd1.ca.comcast.net] has joined #ccl 03:02:36 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 03:04:18 -!- aspires [~aspires@c-76-21-57-49.hsd1.ca.comcast.net] has quit [Quit: sudo making a sandwich] 03:24:36 aspires [~aspires@c-76-21-57-49.hsd1.ca.comcast.net] has joined #ccl 03:46:04 -!- aspires [~aspires@c-76-21-57-49.hsd1.ca.comcast.net] has quit [Quit: sudo making a sandwich] 03:53:42 -!- rme [~rme@50.43.148.144] has quit [Quit: rme] 04:05:39 -!- segv- [~mb@95-91-243-190-dynip.superkabel.de] has quit [Ping timeout: 272 seconds] 04:26:32 aspires [~aspires@c-76-21-57-49.hsd1.ca.comcast.net] has joined #ccl 04:43:50 -!- aspires [~aspires@c-76-21-57-49.hsd1.ca.comcast.net] has quit [Quit: sudo making a sandwich] 05:26:44 ln [~ln@84.233.246.170] has joined #ccl 05:45:51 -!- ln [~ln@84.233.246.170] has quit [Remote host closed the connection] 09:45:51 -!- gbyers [~gb@c-68-35-55-248.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 09:46:07 gbyers [~gb@c-68-35-55-248.hsd1.nm.comcast.net] has joined #ccl 09:46:49 segv- [~mb@95-91-243-227-dynip.superkabel.de] has joined #ccl 09:57:19 -!- segv- [~mb@95-91-243-227-dynip.superkabel.de] has quit [Remote host closed the connection] 10:42:13 segv- [~mb@95-91-243-227-dynip.superkabel.de] has joined #ccl 12:25:19 rme [~rme@50.43.148.144] has joined #ccl 12:39:17 is there something like pthread_cond_broadcast already in ccl? i found signal-semaphore pretty quickly, but i don't see a broadcast-semphore (and i may just be looking in the wrong place) 12:39:23 this is on linux x8664 fwiw 13:29:46 -!- rme [~rme@50.43.148.144] has quit [Quit: rme] 13:42:41 rme [~rme@50.43.148.144] has joined #ccl 13:58:23 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 14:49:13 ipmonger [~IPmonger@pool-72-94-39-57.phlapa.fios.verizon.net] has joined #ccl 15:12:03 -!- rme [~rme@50.43.148.144] has quit [Quit: rme] 15:39:36 -!- alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms_] 16:30:23 aspires [~aspires@173.247.205.34] has joined #ccl 16:38:40 alms_ [~alms_@173-162-137-153-NewEngland.hfc.comcastbusiness.net] has joined #ccl 16:48:39 rme [~rme@50.43.148.144] has joined #ccl 17:33:04 (loop repeat (sync.blocked-process-count s) do (ccl::signal-semaphore (sync.semaphore s))) 17:33:14 with the advantage of being deterministic ;-) 17:57:09 -!- aspires [~aspires@173.247.205.34] has quit [Quit: sudo making a sandwich] 18:01:39 aspires [~aspires@173.247.205.34] has joined #ccl 18:12:35 pjb: ok, thanks. i actually had something along those lines, so it's nice to know i was headed in the right direction :) 18:40:52 ln [~ln@84.233.246.170] has joined #ccl 18:46:07 -!- ln [~ln@84.233.246.170] has quit [] 19:11:29 -!- aspires [~aspires@173.247.205.34] has quit [Quit: sudo making a sandwich] 19:16:08 aspires [~aspires@173.247.205.34] has joined #ccl 19:17:35 segv: no, there isn't. However you try to measure the number of threads waiting on a semaphore, there's generally a chance that that number could change between the time you measure it and the time the loop finishes. However pthread_cond_broadcast() is implemented on a given platform, it -might- be more atomic about that. 20:35:56 -!- ipmonger [~IPmonger@pool-72-94-39-57.phlapa.fios.verizon.net] has quit [Quit: ipmonger] 20:51:56 -!- alms_ [~alms_@173-162-137-153-NewEngland.hfc.comcastbusiness.net] has quit [Quit: alms_] 21:08:29 Fare [~fare@216.239.55.52] has joined #ccl 21:15:17 ipmonger [~IPmonger@pool-72-94-39-57.phlapa.fios.verizon.net] has joined #ccl 21:18:42 alms_ [~alms_@209-6-130-32.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 21:52:02 dcooper8 [~dcooper8@c-98-250-10-50.hsd1.mi.comcast.net] has joined #ccl 22:20:23 -!- aspires [~aspires@173.247.205.34] has quit [Quit: sudo making a sandwich] 22:31:06 aspires [~aspires@173.247.205.34] has joined #ccl 22:41:43 -!- dcooper8 [~dcooper8@c-98-250-10-50.hsd1.mi.comcast.net] has quit [Quit: dcooper8] 23:18:25 -!- segv- [~mb@95-91-243-227-dynip.superkabel.de] has quit [Ping timeout: 272 seconds] 23:52:01 -!- aspires [~aspires@173.247.205.34] has quit [Quit: sudo making a sandwich]