Click here to Skip to main content
15,883,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am new for threading..
I am working on C# windows application.
On load of window form i call thread.
i want to execute some statements of child thread to be executed without preemption/switching.
How can i achieve this.
Posted
Comments
Fredrik Bornander 20-Nov-13 2:55am    
It's not entirely clear what you're trying to achieve, can you provide some code or further explanation?

1 solution

Do you mean a lock[^]?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900