Martin Sustrik
Martin Sustrik
+1
Combining libmill with threads is something I would not recommend. While it may work with some pthread implementations it may not with others. In more concrete terms, pthreads may make...
It's not different. That's why I've replaced the code with something more sane. If you want to give the thread approach a try, go for it. It may not work...
1. Start with UNIX domain socks instead of shmem. It's easier and sufficient to find out whether the design actually works. 2. This looks like a pretty heavy-weigth thing. Would...
@readwulf: Right, the docs should be updated. I am working 12hr shifts this week so I'll probably won't have time to do that, but patches are welcome.
johneh@: It looks like pipe can be made into an actual publicly visible object exported by libmill?
Warning added to the docs.
The tests in Travis are failing. Apparently, there's some Travis problem with OSX builds. However, even Linux tests are failing (compilation error). And why hard-code the interface index?
It's LIFO, of course. Comment fixed. Thanks for spotting it!
Ah, correct. Look few lines below that. The stack is popped and deallocated. However, we cannot deallocate the stack we are running on... I guess that with a bit of...