Repository navigation
Category Threading Support Functions
Paul Squires edited this page Oct 19, 2026
·
2 revisions
Home › All Categories › Threading Support Functions
Grouped by task. Running things at once lists them beside the rest of the area.
| Function | What it does | From |
|---|---|---|
| ThreadCreate | Starts a procedure on a new thread, passing it one pointer; returns the thread handle. | built-in |
| ThreadWait | Waits for a thread to finish, then releases its handle. | built-in |
| ThreadDetach | Releases a thread handle without waiting; the thread runs on to its end. | fbthread.bi |
| ThreadSelf | Returns the handle of the thread that calls it. | fbthread.bi |
| Function | What it does | From |
|---|---|---|
| MutexCreate | Creates a mutex and returns its handle, or 0 on failure. | built-in |
| MutexLock | Locks a mutex, waiting while another thread holds it. | built-in |
| MutexUnlock | Unlocks a mutex so that a waiting thread can take it. | built-in |
| MutexDestroy | Destroys a mutex once no thread is using it. | built-in |
| Function | What it does | From |
|---|---|---|
| CondCreate | Creates a condition variable and returns its handle, or 0 on failure. | built-in |
| CondWait | Unlocks the mutex and waits for a signal, then locks the mutex again. | built-in |
| CondSignal | Wakes one thread waiting on the condition; the signal is lost if none is waiting. | built-in |
| CondBroadcast | Wakes every thread waiting on the condition. | built-in |
| CondDestroy | Destroys a condition variable once no thread is waiting on it. | built-in |
tiko-lang · Home · Feature Index · Keyword Index · License
FreeBASIC manual pages reproduced under the GNU FDL 1.3.
- Generics
- Interfaces
- For Each
- Iterators
- Tuples
- Array Results
- Defer
- Lambdas
- Block Strings
- Partial Types
- String Slices
- Embed
- Typed Variadics
- C Header Import
- Foreign Library Linking
- UString
- Fixed-Width Types
- Nullptr
- String Library
- Format
- Array
- Map
- Set
- LinkedList
- OrderedMap
- OrderedSet
- Sorting
- Optional
- Result
- Smart Pointers
- Date and Time (Chrono)
- Filesystem
- File Streams
- Config (INI and TOML)
- Codec
- Hash
- UUID
- OS
- Process
- Net
- HTTP and TLS
- Math Library
- Finance
- Logging
- Terminal TUI Library
- PsControls
- tkControls
- sys/win
- Goroutines and Channels
- LLVM Backend
- tiko build
- TIKO_COMPILER
- Variable Declarations
- Standard Data Types
- User Defined Types
- Procedures
- Operators
- Control Flow Statements
- Converting Data Types
- Array Functions
- String Functions
- Mathematical Functions
- Bit Manipulation
- Date and Time Functions
- File I/O Functions
- Console Functions
- User Input (Runtime Library)
- User Input Functions (Graphics Library)
- Screen Functions
- 2D Drawing Functions
- Graphics Library Reference
- Graphics Keyword List
- Memory Functions
- Threading Support Functions
- Error Handling Functions
- Operating System Functions
- Preprocessor
- Intrinsic Defines
- Miscellaneous Keywords
- Modularizing