[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some general and some not so general programming questions
From: |
Niels Möller |
Subject: |
Re: some general and some not so general programming questions |
Date: |
11 Dec 2002 10:56:01 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
"Frank Saar" <frank.saar@web.de> writes:
> 1. Is there anything like events ?
> I wonder how to implement an event mechanism without using volatile
> variables and continous testing of those with while();
I'm not sure I understand the question. Exactly what are you trying to
do?
Between processes, you send messages (rpc). Within a process, you'll
either use threads, and condition variables and the like for
signaling, or a select loop, in which case plain variables (no
volatile stuff needed) can be used for signaling.
/Niels