Skip to content

Instantly share code, notes, and snippets.

@gerdr
Created May 18, 2012 20:10
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 gerdr/2727364 to your computer and use it in GitHub Desktop.
Save gerdr/2727364 to your computer and use it in GitHub Desktop.
Parrot threads Win64 debug output
Commands:
parrot t/pmc/timer.t >timer.txt 2>&1
parrot t/src/threads.t >threads.txt 2>&1
perl t/src/threads_io.t >threads_io.txt 2>&1
only t/pmc/timer.t needs to be killed (maxes out one core)
1..21
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
Parrot_alarm_runloop: alarm_set_to: 0.000000, now: 1337371516.419001
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 0.000000, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_thread_wait_for_notification: interp: 00000000022EBD50 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_alarm_runloop: woke up from COND_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337371516.519001, now: 1337371516.419001
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022E9060
Parrot_thread_wait_for_notification: interp: 00000000022E9060 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022E9060
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000023D53B0
Parrot_thread_wait_for_notification: interp: 00000000023D53B0 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000023D53B0
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002417EC0
Parrot_thread_wait_for_notification: interp: 0000000002417EC0 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002417EC0
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002C90490
Parrot_thread_wait_for_notification: interp: 0000000002C90490 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002C90490
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notiok 9
ok 10
fication: interp: 0000000002D53D90
Parrot_thread_wait_for_notification: interp: 0000000002D53D90 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002D53D90
Parrot_thread_wait_for_notification: interp: 00000000022EBD50 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7910
Parrot_thread_wait_for_notification: interp: 00000000004A7910 woke
Parrot_thread_wait_for_notification: interp: 00000000004A7910
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_thread_wait_for_notification: interp: 00000000022EBD50 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_thread_wait_for_notification: interp: 00000000004A7910 woke
Parrot_alarm_set: now: 1337371516.419001, alarm_set_to: 1337371516.519001, when: 1337371516.439001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002DA55C0
Parrot_thread_wait_for_notification: interp: 0000000002DA55C0 woke
Parrot_thread_wait_for_notification: interp: 0000000002DA55C0
Parrot_thread_wait_for_notification: interp: 00000000004A7910
Parrot_thread_wait_for_notification: interp: 00000000004A7910 woke
Parrot_thread_wait_for_notification: interp: 00000000004A7910
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337371516.439001, now: 1337371516.419001
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 1
Parrot_thread_notify_threads
Parrot_thread_wait_for_notification: interp: 00000000022EBD50 woke
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.439001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7910 woke
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_thread_wait_for_notification: interp: 00000000004A7910
Parrot_thread_wait_for_notification: interp: 00000000022E9060 woke
Parrot_thread_wait_for_notification: interp: 00000000023D53B0 woke
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_thread_wait_for_notification: interp: 0000000002417EC0 woke
Parrot_thread_wait_for_notification: interp: 00000000022E9060
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000023D53B0
Parrot_thread_wait_for_notification: interp: 0000000002417EC0
Parrot_thread_wait_for_notification: interp: 0000000002C90490 woke
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002C90490
Parrot_thread_wait_for_notification: interp: 0000000002D53D90 woke
Parrot_alarm_runloop: alarm_set_to: 1337371516.519001, now: 1337371516.450001
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0 woke
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337371516.519001, now: 1337371516.450001
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrotok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
_thread_wait_for_notification: interp: 0000000002DA55C0 woke
Parrot_thread_wait_for_notification: interp: 0000000002DA55C0
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0
Parrot_alarm_set: now: 1337371516.450001, alarm_set_to: 1337371516.519001, when: 1337371516.519001
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002D53D90
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 1
Parrot_thread_notify_threads
Parrot_thread_wait_for_notification: interp: 00000000022EBD50 woke
Parrot_thread_wait_for_notification: interp: 00000000004A7910 woke
Parrot_thread_wait_for_notification: interp: 00000000004A7910
Parrot_thread_wait_for_notification: interp: 00000000023D53B0 woke
Parrot_thread_wait_for_notification: interp: 0000000002417EC0 woke
Parrot_thread_wait_for_notification: interp: 00000000023D53B0
Parrot_thread_wait_for_notification: interp: 00000000023D53B0 woke
Parrot_thread_wait_for_notification: interp: 00000000023D53B0
Parrot_thread_wait_for_notification: interp: 00000000004A7910 woke
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.519001, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000022EBD50 woke
Parrot_thread_wait_for_notification: interp: 00000000022EBD50
Parrot_thread_wait_for_notification: interp: 00000000022E9060 woke
Parrot_thread_wait_for_notification: interp: 0000000002417EC0
Parrot_thread_wait_for_notification: interp: 0000000002417EC0 woke
Parrot_thread_wait_for_notification: interp: 0000000002417EC0
Parrot_thread_wait_for_notification: interp: 00000000022E9060
Parrot_thread_wait_for_notification: interp: 00000000022E9060 woke
Parrot_thread_wait_for_notification: interp: 00000000022E9060
Parrot_thread_wait_for_notification: interp: 0000000002C90490 woke
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002DA55C0 woke
Parrot_thread_wait_for_notification: interp: 0000000002DA55C0
Parrot_alarm_runloop: alarm_set_to: 1337371516.548000, now: 1337371516.528000
Parrot_thread_wait_for_notification: interp: 0000000002C90490
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_thread_wait_for_notification: interp: 0000000002C90490 woke
Parrot_alarm_runloop: notify threads: 0
Parrot_thread_wait_for_notification: interp: 0000000002C90490
Parrot_alarm_runloop: alarm_set_to: 1337371516.548000, now: 1337371516.528000
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0 woke
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002D53D90 woke
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0 woke
Parrot_thread_wait_for_notification: interp: 0000000002CD1FA0
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 0000000002D53D90
Parrot_thread_wait_for_notification: interp: 0000000002D53D90 woke
Parrot_thread_wait_for_notification: interp: 0000000002D53D90
Parrot_alarm_set: now: 1337371516.528000, alarm_set_to: 1337371516.548000, when: 1337371516.548000
Parrot_alarm_set: setting new alarm
1..4
ok 1 - main task sleeping
ok 2 - spinning
not ok 3
ok 3 - main task back
Parrot_alarm_runloop: alarm_set_to: 0.000000, now: 1337371003.660999
Parrot_alarm_set: now: 1337371003.660999, alarm_set_to: 0.000000, when: 1337371004.160999
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371003.660999, alarm_set_to: 1337371004.160999, when: 1337371004.160999
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: woke up from COND_WAIT
Parrot_thread_wait_for_notification: interp: 00000000004A7A00
Parrot_thread_wait_for_notification: interp: 00000000004A7A00 woke
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_set: now: 1337371003.660999, alarm_set_to: 1337371004.160999, when: 1337371004.160999
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: alarm_set_to: 1337371004.160999, now: 1337371003.660999
Parrot_thread_wait_for_notification: interp: 00000000004A7A00
Parrot_thread_wait_for_notification: interp: 00000000024A4CF0
Parrot_thread_wait_for_notification: interp: 00000000024A4CF0 woke
Parrot_thread_wait_for_notification: interp: 00000000024A4CF0
Parrot_thread_wait_for_notification: interp: 00000000004A7A00 woke
Parrot_alarm_set: now: 1337371003.660999, alarm_set_to: 1337371004.160999, when: 1337371004.160999
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337371003.660999, alarm_set_to: 1337371004.160999, when: 1337371004.160999
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7A00
Parrot_thread_wait_for_notification: interp: 00000000024A4CF0 woke
Parrot_thread_wait_for_notification: interp: 0000000002490660
Parrot_thread_wait_for_notification: interp: 0000000002490660 woke
Parrot_thread_wait_for_notification: interp: 0000000002490660
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 1
Parrot_thread_notify_threads
Parrot_thread_wait_for_notification: interp: 00000000004A7A00 woke
Parrot_thread_wait_for_notification: interp: 0000000002490660 woke
Parrot_thread_wait_for_notification: interp: 0000000002490660
Parrot_alarm_runloop: alarm_set_to: 1337371004.160999, now: 1337371004.176001
1..17
ok 1 - PARROT_TIMER_SEC
ok 2 - PARROT_TIMER_USEC
ok 3 - PARROT_TIMER_RUNNING
ok 4 - PARROT_TIMER_SEC
ok 5 - PARROT_TIMER_USEC
ok 6 - created Timer PMC
ok 7 - slept after stopping timer
ok 8 - repeat 1
ok 9 - timer_sub2
Parrot_alarm_runloop: alarm_set_to: 0.000000, now: 1337370888.299000
Parrot_alarm_set: now: 1337370888.299000, alarm_set_to: 0.000000, when: 1337370888.799000
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: woke up from COND_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337370888.799000, now: 1337370888.299000
Parrot_alarm_set: now: 1337370888.299000, alarm_set_to: 1337370888.799000, when: 1337370889.299000
Parrot_alarm_set: now: 1337370888.299000, alarm_set_to: 1337370888.799000, when: 1337370888.799000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7900
Parrot_thread_wait_for_notification: interp: 00000000004A7900 woke
Parrot_alarm_set: now: 1337370888.299000, alarm_set_to: 1337370888.799000, when: 1337370888.799000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7900
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 1
Parrot_thread_notify_threads
Parrot_alarm_runloop: alarm_set_to: 1337370888.799000, now: 1337370888.813000
Parrot_thread_wait_for_notification: interp: 00000000004A7900 woke
Parrot_alarm_set: now: 1337370888.813000, alarm_set_to: 1337370888.799000, when: 1337370889.299000
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: woke up from COND_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337370889.299000, now: 1337370888.813000
Parrot_alarm_set: now: 1337370888.813000, alarm_set_to: 1337370889.299000, when: 1337370889.299000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7900
Parrot_thread_wait_for_notification: interp: 00000000004A7900 woke
Parrot_alarm_set: now: 1337370888.813000, alarm_set_to: 1337370889.299000, when: 1337370889.299000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7900
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 1
Parrot_thread_notify_threads
Parrot_alarm_runloop: alarm_set_to: 1337370889.299000, now: 1337370889.313000
Parrot_thread_wait_for_notification: interp: 00000000004A7900 woke
Parrot_alarm_set: now: 1337370889.313000, alarm_set_to: 1337370889.299000, when: 1337370889.513000
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: woke up from COND_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337370889.513000, now: 1337370889.313000
Parrot_alarm_set: now: 1337370889.313000, alarm_set_to: 1337370889.513000, when: 1337370890.313000
Parrot_alarm_set: now: 1337370889.313000, alarm_set_to: 1337370889.513000, when: 1337370889.513000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7900
Parrot_thread_wait_for_notification: interp: 00000000004A7900 woke
Parrot_alarm_set: now: 1337370889.313000, alarm_set_to: 1337370889.513000, when: 1337370889.513000
Parrot_alarm_set: setting new alarm
Parrot_thread_wait_for_notification: interp: 00000000004A7900
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm_runloop: notify threads: 1
Parrot_thread_notify_threads
Parrot_alarm_runloop: alarm_set_to: 1337370889.513000, now: 1337370889.514999
Parrot_thread_wait_for_notification: interp: 00000000004A7900 woke
Parrot_alarm_set: now: 1337370889.514999, alarm_set_to: 1337370889.513000, when: 1337370890.313000
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: woke up from COND_WAIT
Parrot_alarm_runloop: notify threads: 0
Parrot_alarm_runloop: alarm_set_to: 1337370890.313000, now: 1337370889.514999
Parrot_alarm_set: now: 1337370889.514999, alarm_set_to: 1337370890.313000, when: 1337370890.313000
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337370889.514999, alarm_set_to: 1337370890.313000, when: 1337370889.514999
Parrot_alarm_set: setting new alarm
Parrot_alarm_set: now: 1337370889.514999, alarm_set_to: 1337370889.514999, when: 1337370889.514999
Parrot_alarm_set: setting new alarm
Parrot_alarm_runloop: woke up from COND_TIMED_WAIT
Parrot_alarm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment