Skip to content
Snippets Groups Projects
Commit b5faf3dc authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Added try_* varieties of all functions that can block in Thread.Fifo

and Thread.Queue. Added functions to make Thread.Fifo and Thread.Queue
implement the same interface. Let write and try_write return the
number of elements in the fifo/queue. Added fallbacks for Thread.Fifo
and Thread.Queue in nonthreaded mode since it's now possible to use
them in a meaningful way then.

Rev: lib/modules/Thread.pmod:1.37
parent a2a934dd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment