hey i want to implement a program in c or c# for preemptive processor sharing tasks.
can anyone plz help me out???

Where is your attempt ?

I have not made any attempt yet beacause i can not understand the logic

OK...Tell me what have you understood so far ?

Are you familiar with basic system calls like fork() and sleep() ??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.