freenode/#sbcl - IRC Chatlog
Search
16:13:17
|3b|
if sbcl is in a loop inside WITH-PINNED-OBJECTS, foreign threads can use the pinned objects safely, right? (unthreaded arm32 sbcl if it matters)
17:51:19
|3b|
ok, was about to start trying to run a callback as a foreign thread, but decided to refactor first so interface with callback would be simpler, and now it doesn't work right again :p
17:52:35
|3b|
ACTION is using "push some stuff onto a list" debugging, since "print stuff" debugging is too slow
17:56:53
|3b|
ACTION found problem with refactor i think, was adding an offset to something that already included the offset :/
17:57:24
stassats
make-genesis-2 / make-target-2 --load is not too bad, but power7 is about 3 times slower than my desktop cpu
18:51:36
|3b|
if i want to write from one thread and make sure another sees all the writes, i do (sb-thread:barrier (:memory) write-stuff ...)? do i need anything needed on the reading side? (still arm32 if it matters)
18:53:52
|3b|
actually i guess i have 2 parts that need to be visible in order, so (barrier (:memory) (barrier (:write) write stuff) write-stuff-2) ;; other thread can see everything correctly now ?
18:54:47
|3b|
where write-stuff generates data for other thread, and write-stuff-2 tells other thread it is available and where
18:56:41
stassats
ok, (sb-thread:barrier (:memory) body)is the same as body body (sb-thread:barrier (:memory))
20:11:34
stassats
i might have another theory that i haven't considered, it gets broken during unwinding, what if it's incorrectly unwinds NSP, and the call to collect_garbage just overwrites the previous context