Multi tasking in C!!

Write here if you have problems with your C source code

Moderator: Board moderators

Post Reply
Rajib Mazumder
New poster
Posts: 14
Joined: Fri Jul 05, 2002 7:04 pm
Location: Bangladesh

Multi tasking in C!!

Post by Rajib Mazumder »

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???

Juergen Werner
New poster
Posts: 27
Joined: Wed Apr 17, 2002 7:54 pm

Post by Juergen Werner »

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 ( ).

It's not allowed on the Online Judge. ;(

Post Reply

Return to “C”