EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Thread safety in Context

Posted: 01/11/2013 19:12:37
by Vishnu Venkatesh (Basic support level)
Joined: 12/27/2012
Posts: 19

Hi - lets say that there are 2 threads in the user mode program that access the same file.

With the UserContext, a single context is used between both the threads between the first open/last close of the file. That single context contains a single buffer and single handle to the file.

This creates BSOD when the threads are not in sync with each other.

Is there a way to create a separate context per thread, or somehow manage thread safety?

Posted: 01/12/2013 02:39:56
by Vladimir Cherniga (Team)

All callbacks to the single file are serialized internally to the same thread.



Topic viewed 2742 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!