Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
not sure what you mean by multiple instance
but sometimes do use temp files for doing funtion switching,
i use fork() for a program to do multiple task, like in alarm.c
It has to loop over and over to keep up to date with time, and if
time = the alarm_time, then i need it to constantly play MP3's,
without delaying time on the screen, so to do 2 loops at once
asyconous(spelling?) I use fork() to play the MP3s.
I have to do the same with animations on telnet talkers.
On Tue, 11 Jun 2002, Mike Miller wrote:
> What do people do in C programming (for example) in writing temp files to
> avoid conflicts when multiple instances of the program run simultaneously?
> Do you make up some random string, or use the system clock to get a
> string? What's a conventional approach to this?
>
> Mike
>
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
>
> Archives are available at http://mlug.missouri.edu/list-archives/
>
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/