00:06:46 sellout [~greg@c-24-128-48-180.hsd1.ma.comcast.net] has joined #ccl 00:36:34 palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 01:23:30 alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 01:33:31 -!- deepfire [~deepfire@80.92.100.69] has quit [Quit: ircII EPIC4-2.10.1 -- Are we there yet?] 01:35:27 deepfire [~deepfire@80.92.100.69] has joined #ccl 02:10:23 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Quit: rcirc on GNU Emacs 23.1.95.2] 02:17:30 -!- alms [alms@clozure-AD075F06.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms] 02:17:30 -!- alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms] 02:35:59 alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 02:36:26 palter_ [~palter@2002:4b44:b1e1:0:21b:63ff:fe96:e1ff] has joined #ccl 02:36:26 -!- palter [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Connection reset by peer] 02:36:26 -!- palter [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 02:36:26 -!- palter_ is now known as palter 03:05:28 -!- alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [Quit: alms] 03:20:35 alms [~alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 06:43:17 fusss [~kumi@li63-187.members.linode.com] has joined #ccl 06:43:48 does ccl use the convention ccl::%unix-gettimeofday? 06:43:55 I though that was an sbclism 06:59:45 Huh? 08:03:48 -!- fusss [~kumi@li63-187.members.linode.com] has quit [Quit: leaving] 09:40:17 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 11:08:43 lichtblau [~user@77-22-100-58-dynip.superkabel.de] has joined #ccl 11:33:55 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Quit: rcirc on GNU Emacs 23.1.95.3] 11:58:57 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 12:22:58 Adlai [~Adlai@unaffiliated/adlai] has joined #ccl 13:05:20 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Remote host closed the connection] 13:06:12 billstclair [~billstcla@gw3.tacwap.org] has joined #ccl 13:06:12 -!- billstclair [~billstcla@gw3.tacwap.org] has quit [Changing host] 13:06:12 billstclair [~billstcla@unaffiliated/billstclair] has joined #ccl 13:12:08 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Quit: rcirc on GNU Emacs 23.1.95.3] 14:46:29 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #ccl 14:46:29 14:46:29 -!- names: ccl-logbot rme billstclair Adlai lichtblau alms palter deepfire sellout bfulgham bzzbzz hypno lisppaste5 chandler albino gz gbyers clop mdc @ChanServ tvaalen 15:35:11 -!- rme [rme@clozure-EE999573.dc4.itasoftware.com] has quit [Quit: rme] 15:35:11 -!- rme [~rme@guest-fw.dc4.itasoftware.com] has quit [Quit: rme] 15:46:08 milanj [~milanj_@79.101.78.241] has joined #ccl 15:47:07 rme [~rme@guest-fw.dc4.itasoftware.com] has joined #ccl 15:52:32 -!- Adlai [~Adlai@unaffiliated/adlai] has quit [Remote host closed the connection] 15:52:48 Adlai [~adlai@unaffiliated/adlai] has joined #ccl 17:33:13 -!- milanj [~milanj_@79.101.78.241] has quit [Ping timeout: 240 seconds] 17:33:20 anRch [~markmilli@64.134.241.75] has joined #ccl 17:38:19 milanj [~milanj_@77.46.202.211] has joined #ccl 17:39:27 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 17:49:58 If someone issues an interrupt, as in Ctrl+C, while CCL is doing an operation like (setf (gethash key ht) val), could it leave the hash table in a bad state? Or does CCL's do something to protect against these kinds of things? 17:53:05 It does something to protect against these kinds of things. 17:54:07 it seems like generally if I want to do, say, (progn (incf x) (incf y)) and know that they either both succeed or fail, i need to use something like (unwind-protect nil (progn (incf x) (incf y)))... does that seem reasonable, or is there a better, lower-level thing I should be using? 17:54:44 ctrl+c suddenly seems very scary when you start writing impure code :) 17:58:53 palter_ [~palter@2002:4b44:b1e1:0:217:f2ff:fee7:72d7] has joined #ccl 17:59:09 -!- palter_ [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter_] 17:59:09 -!- palter_ [~palter@2002:4b44:b1e1:0:217:f2ff:fee7:72d7] has quit [Client Quit] 18:23:26 without-interrupts can be used to prevent a sequence of calls from being interrupted, but it's not a good idea to use it for anything that might take a long time. letting the interrupt happen and cleaning up with unwind-protect is more robust. 18:23:54 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Ping timeout: 276 seconds] 18:36:12 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 18:59:11 For the audience watching at home, note that without-interrupts doesn't protect your thread against getting pre-empted. 19:12:11 peterbb [~peterbb@ves1-1x-dhcp356.uio.no] has joined #ccl 19:12:39 -!- anRch [~markmilli@64.134.241.75] has quit [Quit: anRch] 19:28:30 rgr 19:29:34 ok, i'll try to stick with unwind-protect for now 19:46:13 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Quit: rcirc on GNU Emacs 23.1.95.3] 19:51:57 leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has joined #ccl 20:42:55 -!- leo2007 [~leo@cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com] has quit [Quit: rcirc on GNU Emacs 23.1.95.3] 20:43:24 -!- rme [~rme@guest-fw.dc4.itasoftware.com] has quit [Quit: rme] 22:22:57 -!- milanj [~milanj_@77.46.202.211] has quit [Quit: Leaving] 22:25:50 palter_ [~palter@2002:4b44:b1e1:0:217:f2ff:fee7:72d7] has joined #ccl 22:42:07 -!- palter_ [palter@clozure-78A0C567.hsd1.ma.comcast.net] has quit [Quit: palter_] 22:42:07 -!- palter_ [~palter@2002:4b44:b1e1:0:217:f2ff:fee7:72d7] has quit [Quit: palter_] 22:44:24 palter_ [~palter@c-75-68-177-225.hsd1.ma.comcast.net] has joined #ccl 23:02:39 -!- palter [~palter@2002:4b44:b1e1:0:21b:63ff:fe96:e1ff] has quit [Quit: palter] 23:02:40 -!- palter_ is now known as palter