worker-thread
Android: Updating ArrayAdapter / ListView from within PacketListener worker thread
I\'m implementing XMPP client for an Android application. For getting the chat messages that are sent to me, I\'m using the PacketListener from Smack. With the XMPP part of the application, everything[详细]
2023-03-29 01:07 分类:问答Return statement while using worker thread
Do I always have to return something using Worker Thread in Swing? What if I don\'t have any return value?开发者_StackOverflow社区 I just want to use the worker thread to run an infinite for loop... s[详细]
2023-03-16 23:49 分类:问答Does the HTML5 worker threads feature expose the number of cores on a machine? [duplicate]
This question already has answers here: Get number of CPU cores in JavaScript? (5 answers) 开发者_如何学编程[详细]
2023-02-05 10:27 分类:问答How to pass user-defined data to a worker thread using IOCP?
Hey... I created a small test server using I/O completion ports and winsock. I can successfully connect and associate a socket handle with the completion port.[详细]
2023-01-28 12:23 分类:问答Basic multi-threading questions in C#
I\'m new to multithreading and I\'m working on parallelizing an area in my application. I\'ve read a number of posts on this site but I\'m still confused as to the best way to approach my problem:[详细]
2023-01-23 07:36 分类:问答Maximizing Worker Thread Utilization
To solve a problem (and better my understanding of multitasking) I have written a small thread pool implementation. This thread pool spins up a number of worker threads which pop tasks off of a queue[详细]
2023-01-10 21:39 分类:问答How to design non-EJB load balanced applications?
I have a java class Processor that is listening to a jms topic and it is struggling to keep up with the speed in which messages are arriving so we\'ve decided to go concurrent:[详细]
2023-01-04 22:18 分类:问答WPF worker thread requires suspension by consumer notification
Hi I have a producer - consumer pattern. The WPF UI is sort of ancilliary to a long-running worker thread which is listening to packets and enqueing tasks. In practise all the messages are dequeued an[详细]
2022-12-30 19:40 分类:问答OCCI createEnvironment Blocks My Thread
I\'m writing a multi-threaded application, where there is a main thread which distributes tasks to the worker threads. According to the task, a worker thread creates a connection, by using a global oc[详细]
2022-12-30 00:15 分类:问答Boost Thread Specific Storage Question (boost/thread/tss.hpp)
The boost threading library has an abstraction for thread specific (local) storage. I have skimmed over the source code and it seems that the TSS functionality can be used in an application with any e[详细]
2022-12-26 07:10 分类:问答