A Thread generally, is a set of instructions, that can be scheduled to run by the OS. So, what happens when the two threads try to write on the same memory block? That is the main problem of parallel-computing. POSIX Threads, or pthreads are the most used threading standard. Hello World threaded example. Passing struct argument to thread. Incoming part 2 : Advanced thread parameters, joining / detaching / killing threads.
Continuing the socket programming. A few words about IPv4, and IPv4 address exhaustion, it’s successor, IPv6 and how to make your applications IP independent, aka compatible with both IPv4 and IPv6.
Since the first years i was programming, i was always keen to applications based on communication. Socket programming allows us to communicate with other computers / programs through networking techniques. There are 2 types of socket protocol’s that are mostly used. Those are TCP ( Stream Protocol, or SOCK_STREAM ) and UDP ( Datagram Protocol, or SOCK_DGRAM )
I was looking at my black gnome panel bar, and taking a look at all those little gadgets hooked on it! And i was wondering, could i make one too? So i looked it up, did some searches, encountered some headaches but well thanks to a good tutorial i made it. So i thought i could try to pass to you this knowledge i gathered.
Generally, developing a widget / applet for a panel of the Gnome graphical display manager is a mostly easy process. Such a widget, consists of two elements. It’s .server XML file, where many information about the widget are described. And the actual source code of the widget.
Recent Comments