hi, how does times() function calculate the processor time. what is the unit for processor time. thanks ... 15 Apr 2010 10:15
Hi, I have a scenario where multiple process wants to write to a single file. I was wondering what would be the best method to achieve this? 1. Message Queues. 2. Memory Mapped Files 3. Or any other method. Speed is the main concern. Can someone please throw some light on this? Thank you. ... 16 Apr 2010 02:56
clients, was Re: Details about how process scheduler works?
"Ian Collins" <ian-news(a)hotmail.com> wrote in message news:82k91dF127U8(a)mid.individual.net... On 04/14/10 10:12 AM, Peter Olcott wrote: "Ian Collins"<ian-news(a)hotmail.com> wrote in message news:82k4eaF126U2(a)mid.individual.net... On 04/14/10 06:28 AM, Peter Olcott wrote: Okay, thanks again for... 13 Apr 2010 19:35
semop returning ERANGE error?
Hi, I have two processes running - one process created a semaphore whilst the other just needs to look at it and perform an operation based on it being set. Here is a rough copy of the code: Process 1: semget(key, 1, IPC_CREAT|IPC_EXCL|S_IRUSR|S_IWUSR|S_IROTH|S_IWOTH) semctl(m_nSemID, 0, SETALL, arg) ... 15 Apr 2010 06:56
Details about how process scheduler works?
I have four processes. One of these processes is to have higher priority than the others. The remaining three will have equal priority to each other. I want the high priority process to get about 80% of the CPU time available to the four processes, and the remaining three to share the remaining 20%. I alre... 17 Apr 2010 11:53
Receiving broadcast packets using packet socket
Hello I try to send DHCP RENEW packets to the network and receive the responses. I broadcast the packet and I can see that it's successfully sent using Wireshark. But I have difficulties receiving the responses.I use packet sockets to catch the packets. I can see that there are responses to my RENEW packet using... 13 Apr 2010 01:51
dynamically loading a shared library
Hi, I am using c++, and need to dynamically load a shared library. To create an example, I followed steps here: http://rachid.koucha.free.fr/tech_corner/shared_libs_tests.html The example works fine, but what if I extend the class to inherit from a pure virtual base class and change the constructor to take a... 12 Apr 2010 04:50
What is the protocal for GMT offset in SMTP (e-mail) header time-stamp?
> Threads are not a UNIX concept. [...] As I said elsewhere, you're overgeneralizing from Linux to Unix, here. Further, UNIX didn't offer the serialization mechanisms and APIs that IBM's OS and hardware supports (in enablement of threading, which is ancient and native there), so people didn't get... 11 Apr 2010 01:33
Help creating a quote server simulator
I'm designing a quote/ticker simulator using streams that will emulate real-time quotes into my program ( a data pumper, if you will). I'm new to sockets programming, but after reading Beej's guide, and a few others, I think I have the basics, and can setup the basic connection between a client and server. I... 12 Apr 2010 13:39
The way I understand Beejs unix networking that I was kindly told about is that getaddrinfo() is used first and through pointer menipulation over linked lists getaddrinfo() returns what is needed. Then used: socket() bind() listen() accept() send() and recv() in TCP connections. Now is there anoth... 9 Apr 2010 16:44