The POSIX thread libraries are a standards based thread API for C/C++. It allows one to spawn a new concurrent process flow. It is most effective on multi-processor or multi-core systems where the process flow can be scheduled to run … Continue reading
RCS file: thrd.c,v Working file: thrd.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: creating the thread —————————- revision 1.1 locked by: root; date: 2014/06/03 06:37:40; author: … Continue reading
W’s of character drivers We already know what drivers are, and why we need them. What is so special about character drivers? If we write drivers for byte-oriented operations (or, in C lingo, character-oriented operations), then we refer to them … Continue reading
Creating “pipelines” with the C programming language can be a bit more involved than our simple shell example. To create a simple pipe with C, we make use of the pipe() system call. It takes a single argument, which is … Continue reading
RCS file: server.c,v Working file: server.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: make the server for a requesting client —————————- revision 1.2 locked by: root; … Continue reading
RCS file: server.c,v Working file: server.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: make the server for a requesting client —————————- revision 1.2 locked by: root; … Continue reading
DIFINATION-it is a block of code that has a property that it is reusable.it may be executed from many different point in c program. Name of the function is globaly decleared therefore it can be accesed from anywhere in the … Continue reading