2015-03-03T00:04:54Z attila_lendvai quit (Ping timeout: 272 seconds) 2015-03-03T00:05:24Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-03-03T00:16:01Z gingerale quit (Ping timeout: 264 seconds) 2015-03-03T00:17:03Z Bicyclidine joined #sbcl 2015-03-03T01:26:50Z fierydiarreha quit (Ping timeout: 252 seconds) 2015-03-03T01:28:56Z fierydiarreha joined #sbcl 2015-03-03T01:38:34Z DeadTrickster quit (Read error: No route to host) 2015-03-03T01:38:40Z Bicyclidine quit (Ping timeout: 255 seconds) 2015-03-03T01:51:15Z fierydiarreha quit (Ping timeout: 252 seconds) 2015-03-03T01:53:35Z DeadTrickster joined #sbcl 2015-03-03T01:54:11Z Quadrescence joined #sbcl 2015-03-03T01:54:51Z Bicyclidine joined #sbcl 2015-03-03T01:55:19Z scymtym_ quit (Ping timeout: 255 seconds) 2015-03-03T01:55:22Z echo-area joined #sbcl 2015-03-03T01:58:19Z fierydiarreha joined #sbcl 2015-03-03T02:06:30Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-03T02:29:37Z jrm: I started playing with threads to avoid blocking issues in StumpWM. The situation has improved quite a lot, but there are hiccups where the WM will block for short periods. I know this is a vague description, but are there any common pitfalls that could cause this? Here is an example: http://ftfl.ca/paste/function-using-threads.html 2015-03-03T02:33:13Z pchrist quit (Ping timeout: 252 seconds) 2015-03-03T02:34:41Z pchrist joined #sbcl 2015-03-03T02:47:26Z echo-are` joined #sbcl 2015-03-03T02:47:40Z echo-area quit (Ping timeout: 272 seconds) 2015-03-03T03:00:18Z fe[nl]ix: jrm: that function is totally bonkers 2015-03-03T03:22:54Z |3b|: yeah, probably better to just start 1 thread that updates the variable every so often (possibly with some locking or otherwise atomic updates if you care about seeing bad output once in a while) 2015-03-03T03:38:11Z christoph_debian quit (Ping timeout: 244 seconds) 2015-03-03T03:52:34Z christoph_debian joined #sbcl 2015-03-03T03:56:29Z jrm: fe[nl]ix, |3b|: I expanded what's included in the thread b/c get-default-route-interface also uses an external call. Any other reason it's bonkers? 2015-03-03T03:58:56Z jrm: |3b|: maybe you're suggesting I start a thread that lives indefinitely and loops (with a pause) and updates the variable continuously? 2015-03-03T03:59:06Z |3b|: yeah 2015-03-03T03:59:52Z jrm: Yeah, that might be better than starting many new threads. They seem to have some overhead to start. 2015-03-03T04:37:43Z echo-are` is now known as echo-area 2015-03-03T04:58:46Z Quadrescence joined #sbcl 2015-03-03T05:36:39Z jrm: |3b|: Any suggestion on how to pause the loop, but only pause in the running thread. sleep seems to pause all threads. http://ftfl.ca/paste/check-new-mail-one-thread.html 2015-03-03T05:54:41Z nyef quit (Quit: G'night all) 2015-03-03T05:54:53Z les_ joined #sbcl 2015-03-03T05:54:53Z les_ quit (Client Quit) 2015-03-03T05:56:24Z les_ joined #sbcl 2015-03-03T05:56:24Z les_ quit (Client Quit) 2015-03-03T05:58:09Z les quit (Ping timeout: 250 seconds) 2015-03-03T06:03:53Z les joined #sbcl 2015-03-03T06:06:39Z |3b|: jrm: sleep only sleeps in the thread that called it 2015-03-03T06:07:45Z |3b|: jrm: and that paste seems to have some extra () around the make-thread call 2015-03-03T06:08:26Z |3b|: jrm: and the SLEEP should probably be inside the loop 2015-03-03T06:11:07Z |3b|: jrm: and setting *checking-flag* to 1 is suspicious, don't forget 0 is "true" also in CL 2015-03-03T06:16:18Z pranavrc joined #sbcl 2015-03-03T06:16:18Z pranavrc quit (Changing host) 2015-03-03T06:16:18Z pranavrc joined #sbcl 2015-03-03T06:44:56Z les quit (Quit: leaving) 2015-03-03T06:48:46Z gabriel_laddel joined #sbcl 2015-03-03T06:51:42Z les joined #sbcl 2015-03-03T06:51:42Z les quit (Changing host) 2015-03-03T06:51:42Z les joined #sbcl 2015-03-03T06:52:13Z fierydiarreha quit (Ping timeout: 264 seconds) 2015-03-03T06:53:29Z les quit (Client Quit) 2015-03-03T06:54:59Z les joined #sbcl 2015-03-03T06:55:47Z les quit (Client Quit) 2015-03-03T06:56:26Z les joined #sbcl 2015-03-03T06:59:12Z fierydiarreha joined #sbcl 2015-03-03T07:01:15Z les quit (Client Quit) 2015-03-03T07:01:27Z les joined #sbcl 2015-03-03T07:10:22Z les quit (Quit: leaving) 2015-03-03T07:13:01Z les joined #sbcl 2015-03-03T07:21:17Z gabriel_laddel quit (Remote host closed the connection) 2015-03-03T07:22:41Z karswell` quit (Remote host closed the connection) 2015-03-03T07:22:57Z karswell` joined #sbcl 2015-03-03T07:36:47Z angavrilov joined #sbcl 2015-03-03T07:54:15Z Bicyclidine quit (Ping timeout: 265 seconds) 2015-03-03T08:20:57Z Bicyclidine joined #sbcl 2015-03-03T08:23:46Z pacon joined #sbcl 2015-03-03T08:48:55Z Shinmera joined #sbcl 2015-03-03T09:11:43Z AnxiousGarlic joined #sbcl 2015-03-03T09:12:21Z AnxiousGarlic left #sbcl 2015-03-03T09:24:18Z Bicyclidine quit (Ping timeout: 246 seconds) 2015-03-03T09:31:12Z davazp joined #sbcl 2015-03-03T09:39:28Z Quadrescence: Does the peephole optimizer not delete (MOV X K1) (MOV X K2) in sequence? 2015-03-03T09:39:40Z Quadrescence: Is there even such? 2015-03-03T09:40:45Z Quadrescence: This seems awfully low quality: http://paste.lisp.org/display/146045 2015-03-03T09:43:07Z gingerale joined #sbcl 2015-03-03T09:43:47Z attila_lendvai joined #sbcl 2015-03-03T09:43:47Z attila_lendvai quit (Changing host) 2015-03-03T09:43:47Z attila_lendvai joined #sbcl 2015-03-03T09:47:00Z selat joined #sbcl 2015-03-03T09:51:20Z Bicyclidine joined #sbcl 2015-03-03T09:57:53Z fierydiarreha quit (Quit: Lost terminal) 2015-03-03T10:00:40Z pacon quit (Read error: Connection reset by peer) 2015-03-03T10:06:34Z selat quit (Quit: Lost terminal) 2015-03-03T10:06:58Z selat joined #sbcl 2015-03-03T10:10:34Z scymtym_ joined #sbcl 2015-03-03T10:19:47Z echo-area quit (Remote host closed the connection) 2015-03-03T10:24:37Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-03-03T10:35:23Z selat quit (Ping timeout: 240 seconds) 2015-03-03T10:51:05Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-03T11:26:06Z Bicyclidine joined #sbcl 2015-03-03T11:28:51Z attila_lendvai quit (Ping timeout: 265 seconds) 2015-03-03T11:42:01Z scymtym_ quit (Ping timeout: 264 seconds) 2015-03-03T11:47:13Z eudoxia joined #sbcl 2015-03-03T11:48:42Z edgar-rft quit (Quit: edgar-rft) 2015-03-03T11:53:50Z Bicyclidine quit (Ping timeout: 252 seconds) 2015-03-03T12:06:31Z echo-area joined #sbcl 2015-03-03T12:09:05Z davazp quit (Ping timeout: 250 seconds) 2015-03-03T12:13:11Z stassats joined #sbcl 2015-03-03T12:17:44Z Shinmera joined #sbcl 2015-03-03T12:20:44Z Bicyclidine joined #sbcl 2015-03-03T12:20:47Z pkhuong: there is no peephole pass 2015-03-03T12:39:11Z stassats quit (Remote host closed the connection) 2015-03-03T12:42:33Z rszeno joined #sbcl 2015-03-03T12:49:28Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-03T12:52:13Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-03T13:22:10Z pranavrc quit 2015-03-03T13:30:06Z scymtym_ joined #sbcl 2015-03-03T13:42:19Z salv0 quit (Remote host closed the connection) 2015-03-03T14:00:05Z Bicyclidine quit (Ping timeout: 256 seconds) 2015-03-03T14:05:32Z Shinmera joined #sbcl 2015-03-03T14:21:32Z Bicyclidine joined #sbcl 2015-03-03T14:36:21Z salv0 joined #sbcl 2015-03-03T14:58:08Z scymtym_ quit (Ping timeout: 265 seconds) 2015-03-03T15:19:37Z krzysz00 quit (Ping timeout: 264 seconds) 2015-03-03T15:52:04Z selat joined #sbcl 2015-03-03T15:59:23Z gingerale quit (Read error: Connection reset by peer) 2015-03-03T16:00:36Z gingerale joined #sbcl 2015-03-03T16:09:14Z eudoxia quit (Quit: Leaving) 2015-03-03T17:05:48Z Bicyclidine quit (Ping timeout: 256 seconds) 2015-03-03T17:09:03Z Bicyclidine joined #sbcl 2015-03-03T17:37:59Z rszeno quit (Quit: Leaving.) 2015-03-03T17:42:59Z fierydiarreha joined #sbcl 2015-03-03T17:59:43Z psy joined #sbcl 2015-03-03T17:59:59Z nikki93_ joined #sbcl 2015-03-03T18:08:29Z psy quit (Disconnected by services) 2015-03-03T18:08:48Z psy_ joined #sbcl 2015-03-03T18:14:04Z Bicyclidine quit (Ping timeout: 252 seconds) 2015-03-03T18:17:43Z nikki93_ quit (Remote host closed the connection) 2015-03-03T18:20:15Z Bicyclidine joined #sbcl 2015-03-03T18:21:15Z stassats joined #sbcl 2015-03-03T18:25:09Z attila_lendvai joined #sbcl 2015-03-03T18:28:50Z psy_ quit (Ping timeout: 246 seconds) 2015-03-03T18:30:45Z nikki93_ joined #sbcl 2015-03-03T18:31:07Z nikki93_ quit (Remote host closed the connection) 2015-03-03T18:31:22Z nikki93_ joined #sbcl 2015-03-03T18:35:49Z lispm joined #sbcl 2015-03-03T18:38:53Z Bicyclidine quit (Ping timeout: 256 seconds) 2015-03-03T18:50:46Z Bicyclidine joined #sbcl 2015-03-03T19:10:54Z Bicyclidine quit (Ping timeout: 252 seconds) 2015-03-03T19:16:02Z edgar-rft joined #sbcl 2015-03-03T19:17:16Z Bicyclidine joined #sbcl 2015-03-03T19:35:41Z Bicyclidine quit (Ping timeout: 246 seconds) 2015-03-03T19:37:43Z Bicyclidine joined #sbcl 2015-03-03T19:42:01Z Quadrescence joined #sbcl 2015-03-03T19:46:19Z Bicyclidine quit (Ping timeout: 252 seconds) 2015-03-03T19:48:04Z Bicyclidine joined #sbcl 2015-03-03T19:48:23Z nikki93_ quit (Remote host closed the connection) 2015-03-03T20:00:39Z nikki93_ joined #sbcl 2015-03-03T20:02:39Z pchrist quit (Remote host closed the connection) 2015-03-03T20:05:19Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-03T20:13:13Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-03-03T20:14:45Z Bicyclidine joined #sbcl 2015-03-03T20:19:45Z lispm quit (Quit: lispm) 2015-03-03T20:19:49Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-03-03T20:25:59Z Bicyclidine joined #sbcl 2015-03-03T20:26:43Z jrm: Thanks |3b|. My excuse of being new here is running thin. :-/ 2015-03-03T20:29:48Z krzysz00 joined #sbcl 2015-03-03T20:30:20Z Bicyclidine quit (Ping timeout: 244 seconds) 2015-03-03T20:41:39Z rszeno joined #sbcl 2015-03-03T20:45:44Z rszeno quit (Client Quit) 2015-03-03T20:52:16Z Bicyclidine joined #sbcl 2015-03-03T21:11:18Z rszeno joined #sbcl 2015-03-03T21:11:55Z selat quit (Quit: Lost terminal) 2015-03-03T21:13:26Z krzysz00 quit (Ping timeout: 256 seconds) 2015-03-03T21:14:42Z nikki93_ quit (Remote host closed the connection) 2015-03-03T21:15:27Z angavrilov quit (Remote host closed the connection) 2015-03-03T21:16:41Z nikki93_ joined #sbcl 2015-03-03T21:16:53Z nikki93_ quit (Remote host closed the connection) 2015-03-03T21:20:56Z pchrist joined #sbcl 2015-03-03T21:28:06Z krzysz00 joined #sbcl 2015-03-03T21:37:27Z rszeno quit (Quit: Leaving.) 2015-03-03T21:42:26Z nikki93__ joined #sbcl 2015-03-03T21:50:24Z ams quit (Quit: bz) 2015-03-03T21:50:50Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-03T22:33:08Z cmack joined #sbcl 2015-03-03T22:39:14Z krzysz00 quit (Ping timeout: 265 seconds) 2015-03-03T22:51:36Z salva joined #sbcl 2015-03-03T22:59:50Z krzysz00 joined #sbcl 2015-03-03T23:00:16Z gingerale quit (Ping timeout: 255 seconds) 2015-03-03T23:13:48Z krzysz00 quit (Ping timeout: 272 seconds) 2015-03-03T23:15:17Z krzysz00 joined #sbcl 2015-03-03T23:29:01Z krzysz00 quit (Ping timeout: 256 seconds) 2015-03-03T23:30:40Z krzysz00 joined #sbcl 2015-03-03T23:37:22Z nikki93__ quit (Remote host closed the connection) 2015-03-03T23:47:46Z les quit (Quit: leaving) 2015-03-03T23:48:05Z les joined #sbcl 2015-03-03T23:51:48Z attila_lendvai quit (Ping timeout: 272 seconds) 2015-03-03T23:56:50Z gabriel_laddel joined #sbcl