cairo graphics 0.9 intersection II

/* Jeffrin Jose Licensed GPL v3 Copyright August 2010 GPL –> http://www.gnu.org/copyleft/gpl.html */ // module do_draw //do_draw will be executed in a separate thread whenever we would like to update //our animation void *do_draw(void *ptr){ currently_drawing = 1; int width, height; gdk_threads_enter(); gdk_drawable_get_size(pixmap, &width, &height); gdk_threads_leave(); //create a gtk-independant surface to draw on cairo_surface_t *cst …

deadlock

Dead lock Nonatomic actions introduce the possibility that the protocol can deadlock, meaning that it reaches a state where it cannot continue. Now, on the context of congestion control deadlock is acheived when the packets in the interconnect can make no forward progress no matter what sequence of events happens. References : Snooping Protocols. Congestion …