G
Guest
What can be used now to control threads, if these are considered obsolete?
To pre-empt the obvious and standard questions due to this change:
1. No we don't have control over the particular code being executed so we
can not put a flag into it to detect when we want to suspend and even if we
could it may not be at the granularity we would need.
2. No mutex, semaphore, etc. are not appropriate things in this scenario.
Many of the MS profile API's still rely on suspend/resume with no
alternative either.
This seems really unreasonable to remove these API's due to presumably the
unwillingness to fix the bug/architecture that can cause .NET CLR deadlocks.
Ideas? Alternatives? Unmanaged really isn't a viable option for this since
the code being run is written managed, we would have to rewrite for managed I
guess.
To pre-empt the obvious and standard questions due to this change:
1. No we don't have control over the particular code being executed so we
can not put a flag into it to detect when we want to suspend and even if we
could it may not be at the granularity we would need.
2. No mutex, semaphore, etc. are not appropriate things in this scenario.
Many of the MS profile API's still rely on suspend/resume with no
alternative either.
This seems really unreasonable to remove these API's due to presumably the
unwillingness to fix the bug/architecture that can cause .NET CLR deadlocks.
Ideas? Alternatives? Unmanaged really isn't a viable option for this since
the code being run is written managed, we would have to rewrite for managed I
guess.