#linuxcnc-devel | Logs for 2016-07-09

Back
[02:00:32] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15tinkercnc commented on issue #107: @jepler, thanks for the advise. 02https://github.com/LinuxCNC/linuxcnc/pull/107#issuecomment-231518779
[14:22:04] <jepler> hmph boost::lockfree::queue is flaking out when I put it in uspace_rtapi_app, but I can't get a standalone program to misbehave in the same way
[14:24:16] <jepler> .. it can pop() the same item twice, and/or pop fully uninitialized items
[15:04:58] <jepler> aha epiphany
[15:05:03] <jepler> .. I think
[15:07:39] <jepler> no that's not the whole story
[15:10:14] <jepler> ah yes just one more piece and now I think it's good
[15:10:21] <jepler> Runtest: 64 tests run, 64 successful, 0 failed + 0 expected
[15:22:49] <jepler> so the main thing turned out to be: I had a process with two threads. The second thread was trying to pull items out of the queue, and the first thread was trying to exit, which caused the queue storage itself to be cleaned up / deallocated (this is C++)
[15:23:02] <jepler> and I hadn't captured that in my standalone program, because I didn't think rtapi_app did it
[15:58:06] <jepler> ps hostmot2 PCI cards work in uspace+rtai
[15:58:23] <jepler> ethernet won't of course, but now it's ripe for somebody to write rtapi-level wrappers for rtnet
[17:15:21] <JT-Shop> where is the 2.5 and 2.6 livecd?
[17:19:55] <cradek> linuxcnc.org/iso ?
[17:20:19] <JT-Shop> thank you
[22:17:37] <seb_kuzminsky> jepler: your wizardry continues to amaze