Click here to Skip to main content
15,901,373 members
Home / Discussions / C#
   

C#

 
QuestionIs New() inherently threadsafe? Pin
Shayne Husson13-Dec-04 13:08
Shayne Husson13-Dec-04 13:08 
AnswerRe: Is New() inherently threadsafe? Pin
Dennis C. Dietrich13-Dec-04 13:47
Dennis C. Dietrich13-Dec-04 13:47 
AnswerRe: Is New() inherently threadsafe? Pin
Dennis C. Dietrich13-Dec-04 14:24
Dennis C. Dietrich13-Dec-04 14:24 
GeneralRe: Is New() inherently threadsafe? Pin
Shayne Husson13-Dec-04 15:42
Shayne Husson13-Dec-04 15:42 
GeneralResX File Difference Pin
SanShou13-Dec-04 12:31
SanShou13-Dec-04 12:31 
QuestionIndexed icon files, not supported in .net? Pin
Member 9613-Dec-04 11:41
Member 9613-Dec-04 11:41 
AnswerRe: Indexed icon files, not supported in .net? Pin
Dave Kreskowiak13-Dec-04 12:39
mveDave Kreskowiak13-Dec-04 12:39 
GeneralThreading + lock() question Pin
eyoung7013-Dec-04 9:15
eyoung7013-Dec-04 9:15 
Can someone please help me with this? If I obtain a lock on an object and then spawn a new thread from within the method that obtained the lock, does the new thread have access to the locked object? It seems intuitive that it would, but its important I know for sure.

private void Method1()
{
lock(lockedObject)
{
Thread th = new Thread(new ThreadStart(SpawnMethod2));
th.Start();
}
}

private void SpawnMethod2()
{
// do something with lockedObject....
}

GeneralRe: Threading + lock() question Pin
Skynyrd13-Dec-04 9:26
Skynyrd13-Dec-04 9:26 
GeneralRe: Threading + lock() question Pin
eyoung7013-Dec-04 10:23
eyoung7013-Dec-04 10:23 
GeneralRe: Threading + lock() question Pin
Dennis C. Dietrich13-Dec-04 11:06
Dennis C. Dietrich13-Dec-04 11:06 
GeneralRe: Threading + lock() question Pin
Dennis C. Dietrich13-Dec-04 11:24
Dennis C. Dietrich13-Dec-04 11:24 
GeneralRe: Threading + lock() question Pin
Daniel Turini13-Dec-04 21:18
Daniel Turini13-Dec-04 21:18 
GeneralPrinting web browser control to screen Pin
Judah Gabriel Himango13-Dec-04 8:23
sponsorJudah Gabriel Himango13-Dec-04 8:23 
GeneralSql Statment Problem with Char " ' " Pin
webhay13-Dec-04 7:15
webhay13-Dec-04 7:15 
GeneralRe: Sql Statment Problem with Char " ' " Pin
Judah Gabriel Himango13-Dec-04 8:26
sponsorJudah Gabriel Himango13-Dec-04 8:26 
GeneralRe: Sql Statment Problem with Char " ' " Pin
J4amieC13-Dec-04 22:11
J4amieC13-Dec-04 22:11 
GeneralRe: Sql Statment Problem with Char " ' " Pin
webhay13-Dec-04 22:31
webhay13-Dec-04 22:31 
QuestionCan we use C# for programing Graphics Environments? Pin
Kiran Satish13-Dec-04 5:53
Kiran Satish13-Dec-04 5:53 
AnswerRe: Can we use C# for programing Graphics Environments? Pin
Dave Kreskowiak13-Dec-04 6:08
mveDave Kreskowiak13-Dec-04 6:08 
GeneralRe: Can we use C# for programing Graphics Environments? Pin
Anonymous13-Dec-04 6:24
Anonymous13-Dec-04 6:24 
GeneralRe: Can we use C# for programing Graphics Environments? Pin
Dave Kreskowiak13-Dec-04 9:58
mveDave Kreskowiak13-Dec-04 9:58 
GeneralOleDbConnection question Pin
Dirso13-Dec-04 4:56
Dirso13-Dec-04 4:56 
GeneralRe: OleDbConnection question Pin
Heath Stewart13-Dec-04 5:19
protectorHeath Stewart13-Dec-04 5:19 
GeneralRe: OleDbConnection question Pin
Skynyrd13-Dec-04 5:36
Skynyrd13-Dec-04 5:36 

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.