Click here to Skip to main content
15,909,953 members
Home / Discussions / C#
   

C#

 
SuggestionRe: shorter syntax for invoking static methods in generic non-static class ? Pin
Richard Deeming8-May-15 0:42
mveRichard Deeming8-May-15 0:42 
Questionhow do I get datasource to put to any drive c# Pin
Member 97020587-May-15 14:19
Member 97020587-May-15 14:19 
AnswerRe: how do I get datasource to put to any drive c# Pin
Dave Kreskowiak7-May-15 16:50
mveDave Kreskowiak7-May-15 16:50 
AnswerRe: how do I get datasource to put to any drive c# Pin
OriginalGriff7-May-15 20:35
mveOriginalGriff7-May-15 20:35 
AnswerRe: how do I get datasource to put to any drive c# Pin
Richard Deeming8-May-15 0:35
mveRichard Deeming8-May-15 0:35 
QuestionHow to run a setup file in different sysytem.. Pin
Jayamanickam7-May-15 2:32
Jayamanickam7-May-15 2:32 
AnswerRe: How to run a setup file in different sysytem.. Pin
OriginalGriff7-May-15 3:10
mveOriginalGriff7-May-15 3:10 
GeneralRe: How to run a setup file in different sysytem.. Pin
Brisingr Aerowing7-May-15 4:21
professionalBrisingr Aerowing7-May-15 4:21 
GeneralRe: How to run a setup file in different sysytem.. Pin
ZurdoDev7-May-15 6:00
professionalZurdoDev7-May-15 6:00 
QuestionRe: How to run a setup file in different sysytem.. Pin
ZurdoDev7-May-15 4:06
professionalZurdoDev7-May-15 4:06 
QuestionC# web browser Pin
Jonteepersson967-May-15 1:56
Jonteepersson967-May-15 1:56 
GeneralRe: C# web browser Pin
Sascha Lefèvre7-May-15 2:04
professionalSascha Lefèvre7-May-15 2:04 
GeneralRe: C# web browser Pin
Jonteepersson967-May-15 2:13
Jonteepersson967-May-15 2:13 
GeneralRe: C# web browser Pin
Sascha Lefèvre7-May-15 2:20
professionalSascha Lefèvre7-May-15 2:20 
AnswerRe: C# web browser Pin
Ravi Bhavnani7-May-15 2:57
professionalRavi Bhavnani7-May-15 2:57 
QuestionHelp Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Thomas Maierhofer (Tom)7-May-15 0:25
Thomas Maierhofer (Tom)7-May-15 0:25 
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 
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.

Thomas Maierhofer (Tom) wrote:
Imagine a unit test (in pseudocode) that can perform the same test from scratch.
It would be testing whether the story as written works under the current conditions. How does it work if there's a deadlock because no reader-thread can be started (say, because someone is writing to the locked file)?

Thomas Maierhofer (Tom) wrote:
BDD is a slightly different approach. Love it or hate it.
I can't do either until I know it a bit better.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

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 
GeneralRe: Help Needed: Unit Tests with multiple Threads / Concurrency / Correct Locking Pin
Eddy Vluggen9-May-15 4:55
professionalEddy Vluggen9-May-15 4:55 

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.