Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using CreateFile/WriteFile/CloseHandle

2 views
Skip to first unread message

Jeff Curren

unread,
Sep 19, 2000, 3:00:00 AM9/19/00
to
We're using these functions to provide logging functionality in an MTS/COM+
environment.

Should calls to these functions be wrapped in a critical section? That is,
if we don't, would we encounter corruption or blocking if two component
instances tried
to call into use these functions at the same time?

We're not seeing any problems with the code but would like some additional
assurances regarding the thread-safeness in a high-capacity application -
given that they are not currently called in critical sections.

Any comments?

Thanks in advance,
Jeff Curren

0 new messages