Re: threads & gtk



On Sat, 5 Aug 2006, chabayo wrote:

pid_t pid=fork ();
gdk_threads_enter ();
threads and processes are not quite the same...

(threads share address space, processes don't. Threads share file handles, processes don't (with a few exceptions).)
I think you are looking for g_thread_create() and related functions.

-Peter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]