gthread.Once

Undocumented in source.

Public Imports

gtkc.gthreadtypes
public import gtkc.gthreadtypes;
Undocumented in source.

Members

Classes

Once
class Once

Threads act almost like processes, but unlike processes all threads of one process share the same memory. This is good, as it provides easy communication between the involved threads via this shared memory, and it is bad, because strange things (so called "Heisenbugs") might happen if the program is not carefully designed. In particular, due to the concurrent nature of threads, no assumptions on the order of execution of code running in different threads can be made, unless order is explicitly forced by the programmer through synchronization primitives.

Meta