Is this "thread-safe" in GTK+....



I want to use pthreads to have a thread that just generates
numbers used by GTK+ in another thread for drawing.
(pixmap plot of the numbers)

I believe variables are global with pthreads but
are there any gotchas to this? Do I need to
use semaphores? (I must find out what they are first!) :(

Chris

-- 
=======================================================
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363       || (619) 553-2836  (fax)    |
| 53560 HULL ST           ||                          |
| SAN DIEGO CA 92152-5001 || seberino spawar navy mil |
=======================================================



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