Thread fails to start
Adam Conner-Sax
adam_conner_sax at yahoo.com
Sun Jan 2 19:28:48 PST 2011
Thanks!
It's OSX, by the way.
So it's clear, I understand that message passing is preferred and I can see how to
do that (kind of!) but I want to compare the performance to other queue
implementations so I can see that message passing is faster or comparable.
Originally, I was just trying to compare (avg and worst case latency) Locking and
LockFree queues (and learn the basics of using CAS) but then I wanted to add
message passing to the list to compare. Combining them all in one test harness is
proving challenging.
That the main thread has a default mailbox makes sense and explains a lot. Though
I doubt I know enough to comment usefully, creating a mailbox if "thisTid" is
called makes sense to me.
Thanks again.
Adam
More information about the Digitalmars-d
mailing list