Hey All
Is it possible to have a multitasked program. that is if it is possible to do 2 or more task in C at the same time???
Multi tasking in C!!
Moderator: Board moderators
-
- New poster
- Posts: 14
- Joined: Fri Jul 05, 2002 7:04 pm
- Location: Bangladesh
- Contact:
-
- New poster
- Posts: 27
- Joined: Wed Apr 17, 2002 7:54 pm
What you'd like to do is specific to the operating system, so there is no general way to solve this.
Under Unix/Linux, there is the 'fork()' command that creates a child process (conforming to POSIX, BSD, ...), information on this can be found in the Unix Programming FAQ ( http://www.erlenstar.demon.co.uk/unix/faq_toc.html ).
It's not allowed on the Online Judge. ;(
Under Unix/Linux, there is the 'fork()' command that creates a child process (conforming to POSIX, BSD, ...), information on this can be found in the Unix Programming FAQ ( http://www.erlenstar.demon.co.uk/unix/faq_toc.html ).
It's not allowed on the Online Judge. ;(