CompuServe Messages

Multitasking

#: 32589 S7/ProgrammingForum unknown
    09-Sep-86 03:27:13
Sb: #32529-Multitasking
Fm: Darrel Schneider 73267,732
To: Dan Moore 74035,243

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

I was wondering if anyone following this multitasking thread knows how much overhead is involved in the Exec task switching. By this I mean how much time does it take for the system to put a task to sleep and wake another up? I know that at least all the registers must be saved but I'm sure alot more than this is involved. I've seen a couple of people say that the most time a task can remain active is 1/15 of a second. Is this true? If it is and the speed of the 68000 is 7.16 then does this mean that a task can perform 477,333 cycles if not preempted by a higher priority task? This seems like an awful lot and I was wondering if my calculations where fouled up somewhere. Also has anyone figured out how much smaller and faster a task is compared to a process? -Darrel