Module vibe.core.core

This module contains the core functionality of the vibe framework.

Functions

Name Description
createTimer Creates a new timer without arming it.
enableWorkerThreads Enables multithreaded worker task processing.
exitEventLoop Stops the currently running event loop.
getgrgid
getgrnam
getTaskLocal Returns a task/fiber specific variable.
isTaskLocalSet Returns a task/fiber specific variable.
lowerPrivileges Sets the effective user and group ID to the ones configured for privilege lowering.
processEvents Process all pending events without blocking.
rawYield Yields execution of this task until an event wakes it up again.
runEventLoop Starts the vibe event loop.
runTask Runs a new asynchronous task.
runWorkerTask Runs a new asynchronous task in a worker thread.
runWorkerTaskDist Runs a new asynchronous task in all worker threads concurrently.
setIdleHandler Sets a callback that is called whenever no events are left in the event queue.
setTaskLocal Sets a variable specific to the calling task/fiber.
setTaskStackSize Sets the stack size for tasks.
setTimer Returns a new armed timer.
sleep Suspends the execution of the calling task for the specified amount of time.
yield Suspends the execution of the calling task to let other tasks and events be handled.

Structs

Name Description
group

Global variables

Name Type Description
VibeVersionString string A version string representing the current vibe version

Authors

Sönke Ludwig

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.