Skip to content

Instantly share code, notes, and snippets.

@badlogic
Created December 16, 2014 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badlogic/2c1f29c5e8c8a6bdbee3 to your computer and use it in GitHub Desktop.
Save badlogic/2c1f29c5e8c8a6bdbee3 to your computer and use it in GitHub Desktop.
EventProcessor.pollEvent: Got process event
EventProcessor.broadcastEvent: Stopped
==> Stopped thread #1, frame #0: 0x00007fff8bd95486 libsystem_kernel.dylib`__semwait_signal + 10, reason: eStopReasonSignal
EventProcessor.executeTask: Executing task Hello task
Hello Task: Hello World
EventProcessor.executeTask: Voting for process resume after task execution
EventProcessor.checkVotes: Vote results: suspend=0, resume=1
EventProcessor.checkVotes: Resumed process
EventProcessor.run: ======== Finished event loop iteration ======
EventProcessor.pollEvent: Got process event
EventProcessor.broadcastEvent: Running
EventProcessor.executeTask: No task to execute
EventProcessor.checkVotes: No votes
EventProcessor.run: ======== Finished event loop iteration ======
EventProcessor.postTask: Submitted task Hello task to event processor thread
EventProcessor.broadcastEvent: No event to broadcast
EventProcessor.executeTask: Requesting process suspension for task Hello task
EventProcessor.checkVotes: Vote results: suspend=1, resume=0
EventProcessor.checkVotes: Stopped process
EventProcessor.run: ======== Finished event loop iteration ======
Traceback (most recent call last):
File "issue219.py", line 454, in <module>
main(sys.argv[1:])
File "issue219.py", line 441, in main
eventProcessor.postTask(helloTask, "Hello task", 1)
File "issue219.py", line 187, in postTask
self.task.wait(timeOut)
File "issue219.py", line 63, in wait
raise Exception("Timed out waiting for task %s" % self.name)
Exception: Timed out waiting for task Hello task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment