Add some assertions to check that we're running inside the correct thread when playing with that thread's cothreads

Original commit message from CVS:
Add some assertions to check that we're running inside the correct
thread when playing with that thread's cothreads
1 file changed