lua-users home
lua-l archive

Re: Algorithm help: passing strings between threads with minimal copying

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Apr 05, 2014 at 04:14:48PM -0400, Sean Conner wrote:
<snip>
> [2]	Actually, epoll_wait() under Linux, poll() everywhere else. I do
> 	have code to support select() but I don't know of any modern Unix
> 	system (which is what we use) that only has select().
<snip>
> [6]	I would love to use LuaJIT, but the target platform is Sparc, and
> 	LuaJIT doesn't support that architecture. Sigh.
Linux/Sparc or Solaris/Sparc?
I presume the former, but if not it's really easy to support Solaris' ports
API, which is the Solaris equivalent to epoll.
Adding/modifying:
https://github.com/wahern/cqueues/blob/master/src/cqueues.c#L532
Polling:
https://github.com/wahern/cqueues/blob/master/src/cqueues.c#L666

AltStyle によって変換されたページ (->オリジナル) /