Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen7-May-15 1:14
professionalEddy Vluggen7-May-15 1:14 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Thomas Maierhofer (Tom)7-May-15 1:52
Thomas Maierhofer (Tom)7-May-15 1:52 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen7-May-15 2:28
professionalEddy Vluggen7-May-15 2:28 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Thomas Maierhofer (Tom)7-May-15 3:03
Thomas Maierhofer (Tom)7-May-15 3:03 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen7-May-15 5:27
professionalEddy Vluggen7-May-15 5:27 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Thomas Maierhofer (Tom)7-May-15 9:11
Thomas Maierhofer (Tom)7-May-15 9:11 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen8-May-15 1:48
professionalEddy Vluggen8-May-15 1:48 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Thomas Maierhofer (Tom)8-May-15 11:09
Thomas Maierhofer (Tom)8-May-15 11:09 
Quote:

Thomas Maierhofer (Tom) wrote:
If I want to test a synchronization primitive - here a Reader Writer lock, how
can you avoid thread dependencies?There's no silver bullet there, no single solution that will work in all cases. Instead of waiting for the reader-thread you might want to look at a queue.


Sorry you totally misunderstood me. If you are DEVELOPING a Reader Writer Lock Class, how could you possibly test YOR OWN Reader Writer Lock Class without threads? There is no queue, YOU are developing a Reader Writer Lock Class.

GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen9-May-15 4:55
professionalEddy Vluggen9-May-15 4:55 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Thomas Maierhofer (Tom)9-May-15 6:29
Thomas Maierhofer (Tom)9-May-15 6:29 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen9-May-15 12:17
professionalEddy Vluggen9-May-15 12:17 
QuestionExecute Multiple Commands using Process.StandardInput Pin
Django_Untaken6-May-15 23:56
Django_Untaken6-May-15 23:56 
AnswerRe: Execute Multiple Commands using Process.StandardInput Pin
Sascha Lefèvre7-May-15 0:40
professionalSascha Lefèvre7-May-15 0:40 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Django_Untaken7-May-15 0:47
Django_Untaken7-May-15 0:47 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Sascha Lefèvre7-May-15 1:00
professionalSascha Lefèvre7-May-15 1:00 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Eddy Vluggen7-May-15 1:16
professionalEddy Vluggen7-May-15 1:16 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Django_Untaken7-May-15 1:58
Django_Untaken7-May-15 1:58 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Eddy Vluggen7-May-15 2:18
professionalEddy Vluggen7-May-15 2:18 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Django_Untaken8-May-15 0:00
Django_Untaken8-May-15 0:00 
GeneralRe: Execute Multiple Commands using Process.StandardInput Pin
Eddy Vluggen8-May-15 1:40
professionalEddy Vluggen8-May-15 1:40 
QuestionHow know the state connected for udp client Pin
hasan hadi6-May-15 17:13
hasan hadi6-May-15 17:13 
AnswerRe: How know the state connected for udp client Pin
Dave Kreskowiak6-May-15 17:23
mveDave Kreskowiak6-May-15 17:23 
GeneralRe: How know the state connected for udp client Pin
hasan hadi6-May-15 23:29
hasan hadi6-May-15 23:29 
GeneralRe: How know the state connected for udp client Pin
Dave Kreskowiak7-May-15 1:24
mveDave Kreskowiak7-May-15 1:24 
GeneralRe: How know the state connected for udp client Pin
hasan hadi7-May-15 3:17
hasan hadi7-May-15 3:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.