I am using ThreadPool on my c# application and I need to add and remove items from an \"global\" ArrayList. The threads will be accessing the same ArrayList at any time. How should I do this in a safe
I have an ASP.NET MVC 3 (.NET 4) web application. I have a [HttpPost] action method which submit\'s some data to the database.
I have see some discussion around this topic and concluded that it is not possible. I should use Threads, make it STA and when I need result back, join main thread with the created thread. This can wo
I try to delay close a window in my App.xaml.ca : Window splash = new Window(); splash.Show(); Timer timer = new Timer(callback, null, 2000, Timeout.Infinite);
In line with this question: How to get stack trace of a thread I am wondering if anyone could point to information about interpreting Java thread stacks extracted with jstack.
I am revisiting an old thread of mine. I want to launch a bunch of threads, each performing the same task, and know in main() when each finishs and it if it was successful or failed.
I have a thread pool writing data to an SSD disk. (windows XP, c#) I would like to choose a 开发者_StackOverflow社区pool size to optimize performance. Theoretically,
I\'m still new at this threading thingy. Lets say I have 50000 URLs and I want to get the contents of these URLs simultaneously, like processing every 10 URLs together. then once one of these URLs fin
My thread: public void main_news_thread(MainApplication main) { ThreadPool.QueueUserWorkItem(p => check_news(validrsslist, 0));
I\'m not too clued up with threading but is the following code acceptable (I\'m more worried about using thread pools within a loop):