Why Tea
2009-02-18 04:59:15 UTC
Hi all, I have been googling for some sample code to
synchronize two Windows threads created by a
service. But I don't seem to be able to find something
that gives me a quick start (I have done concurrent
programming in other languages). This is basically
what I am looking for:
1) The service S runs and starts up threads T1 and T2
2) T1 has to do some work and T2 shouldn't start
until T1 completes its task
Can someone points me to a URL or provides me
with some sample code? Thanks!
/Why Tea
synchronize two Windows threads created by a
service. But I don't seem to be able to find something
that gives me a quick start (I have done concurrent
programming in other languages). This is basically
what I am looking for:
1) The service S runs and starts up threads T1 and T2
2) T1 has to do some work and T2 shouldn't start
until T1 completes its task
Can someone points me to a URL or provides me
with some sample code? Thanks!
/Why Tea