Package: gdk

Function gdk:threads-enter

Lambda List

gdk:threads-enter ()

Details

This function marks the beginning of a critical section in which GDK and GTK functions can be called safely and without causing race conditions. Only one thread at a time can be in such a critial section.

Warning

The gdk:threads-enter function has been deprecated since version 3.6 and should not be used in newly written code. All GDK and GTK calls should be made from the main thread.
 

See also

2024-6-29