stupefy developer

blog about software development, *nix and anything that is related to that

Friday, September 10, 2010

event handling with message queue on top of pipes: part 2

›
The previous part stopped just before going into the details of sending and receiving mechanism. It's implied that each sent message s...
1 comment:
Friday, June 4, 2010

urxvt: 256 colors in ubuntu

›
Unfortunately Ubuntu has rxvt-unicode package without full 256 colors support. The easiest way is to rebuild the package manually. Follo...
3 comments:
Thursday, March 18, 2010

event handling with message queue on top of pipes: part 1

›
Event-driven program flow is common for interactive systems. Events usually come into the system in non-deterministic way. Also it's not...
1 comment:
Tuesday, September 29, 2009

c/c++: call stack v.2

›
In previous c/c++: call stack article I wrote about obtaining function call stack. The method described in the article is good enough but i...
Monday, September 21, 2009

c: double exclamation

›
Linux kernel is full of fascinating code. Not all of it is good but it's possible to find something interesting. While reading the kern...
2 comments:
Wednesday, July 22, 2009

linux: execution of the binary

›
In previous post I've touched internals of fork system call in Linux kernel. Here I want to make the picture complete with describing...
Monday, June 15, 2009

linux: creation of the new process

›
System developers know that you need fork system call to start a new process and execve system call to start a new program. While fork cr...
2 comments:
Tuesday, May 5, 2009

*nix: crash-safe rw-lock with semaphores

›
In previous post about rw-locks based on semaphores I've introduced rw-lock mechanism to limit readers. This post introduces crash-safe...
Tuesday, April 21, 2009

linux: how to become a real daemon?

›
When you want to write a daemon - a program that runs in background and serves during all the time that machine run(or almost all the time) ...
1 comment:
Tuesday, April 14, 2009

emacs: proper kill-whole-line

›
I'm using emacs not for a long time but I really liked it. It took not much time to get used to it. Though emacs doesn't have some f...
Tuesday, April 7, 2009

c: offset of the member in struct

›
Sometimes, very rarely, you know the pointer to the member of the structure and the type of the structure it belongs to. And in this rare si...
1 comment:
Tuesday, March 31, 2009

linux: semget across the processes

›
Recently I've written an issue on whether the semaphore handle obtained with sem_open is valid in children processes. To make the pict...
Friday, March 27, 2009

linux: automatic login

›
The time of laptop-per-human is almost came. Laptop is something personal like toothbrush - you are the only owner. I do not really worry w...
›
Home
View web version

About Me

My photo
Ni@m
View my complete profile
Powered by Blogger.