Sponsored Content
Top Forums Programming GTK C development; question/concern wrt gtk_dialog_run Post 302564531 by Corona688 on Friday 14th of October 2011 12:05:25 AM
Old 10-14-2011
Quote:
Originally Posted by DreamWarrior
I know that...I suppose what I'm asking is, succinctly, if GTK mutex protects its data and is, therefore, thread safe. Xt did not and was, therefore, thread "unsafe".
You're getting confused again. Of course you need to mutex your data, and probably keep it in one thread. Why would a single-threaded anything have IPC in it? It's up to the programmer to decide how they want to use it.
Quote:
At any rate...I assume it's probably not.
Unless it mutexed each and every last memory access, how could anything possibly know which things to protect? Again -- up to the programmer.

There's a simple answer to the problem of you calling things like that deep in event handlers; don't do things like that deep in event handlers... it's an interface, you don't need to bury your whole program in it.
 
libgdk-x11-2.0(3)						C Library Functions						 libgdk-x11-2.0(3)

NAME
libgdk-x11-2.0 - GTK+ Drawing Kit API DESCRIPTION
The libgdk-x11-2.0 library is an implementation of the GTK+ drawing kit for the X11 windowing system. It is used by GTK+ for low-level drawing operations. Most applications will not use GDK directly, but will use GTK+ components (see libgtk-x11-2.0(3)). To access the API documentation, you must install the developer version of the package. FILES
The following files are used by this application: /usr/lib/libgdk-x11-2.0.so GTK+ Drawing Kit API shared library /usr/share/gtk-doc/html/gdk Location of developer documentation ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-base-libs SUNWg- | | |nome-base-libs-64 | +-----------------------------+-----------------------------+ |Interface stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
libgdk_pixbuf-2.0(3), libglib-2.0(3), libgobject-2.0(3), libgtk-x11-2.0(3), attributes(5), gnome-interfaces(5), gnome-std-options(5), X11(5) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2004, 2006 SunOS 5.11 31 Aug 2004 libgdk-x11-2.0(3)
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy