logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

cobian
#1 Posted : Sunday, October 9, 2011 11:05:40 PM(UTC)
cobian

Rank: Administration

Groups: Administrators
Joined: 10/9/2011(UTC)
Posts: 1,679
Man
Sweden
Location: Umeå, Sweden

Was thanked: 104 time(s) in 82 post(s)
Or, How can I guarantee that 2 tasks never execute at the same time? The same answer for both questions. Two tasks never will execute at the same time. This was true in version 2-3 but after version 4, all tasks are executed sequentially. There is a backup queue, when the current tasks ends, the next task in queue starts.

So guarantee that a task starts after the first one ends, schedule both with a minute difference. Then the second one will be added to the queue and it will be started when the current one ends.

PS - Yes, i know about multi-core processors, parallel programming, etc. There is a queue. Using parallel tasks caused more bad than good. End of the story. Do you want parallel processing? Download the code for version 8 and modify it.
 2 users thanked cobian for this useful post.
Peppex on 4/11/2012(UTC), pitakonkubor on 10/23/2013(UTC)
Sponsor
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.6.1 | YAF © 2003-2017, Yet Another Forum.NET
This page was generated in 0.048 seconds.