Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips


11 of 11     Previous     Next
Multithreading in Python
by Srinath M S
Language: Semantic Web, Expertise: Advanced - See how to spin threads quickly and execute tasks in parallel using the ThreadPoolExecutor.
Do Not Assume SimpleDateFormat Is Thread-safe
by Octavia Anghel
Language: Java, Level: Beginner: - Learn why it is important to remember that sharing a SimpleDateFormat requires proper synchronization.
Obtaining a Thread Dump of Your Java App in Linux
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to trigger a thread dump in Java on Linux os.
Launching an Asynchronous Operation Using BackgroundWorker
by Jayadev D
The .NET BackgroundWorker class makes it a snap to launch asynchronous operations on a separate thread.
Using the OneWay Web Service Attribute
by Srinath MS
When you call a void web service method, apply the OneWay attribute to avoid having the calling thread wait for a response.
Using Templates for Concurrent XSLT Transformations
by Leonard Anghel
Use Templates to use a Transformer object (from the TrAX API) in multiple threads running concurrently.
Multi-Threading: When printf Can Be Better than cout
by John Hendrix
printf and fprintf are much less likely to be preempted in the middle of streaming data.
Using CreateProcess Instead of _tspawnl to Spawn Programs
by Alison Lomaka
Using _tspawnl to spawn programs can have undesirable side effects. Learn how to avoid them.
A Safe Way to Stop a Java Thread
by Kevin Spiteri
The Thread.stop() method is unsafe and thus deprecated.
A C++ Mutex Operation for Intel-compatible Processors
by Andrei Borac
Interprocess synchronization has always been classified as a "slow" operation, but that is largely only because the Windows implementation requires switching to kernel mode (an expensive operation) each time you attempt to acquire a mutex.
Executing a Subprocess
by Lundholm Per
When executing a subprocess in Java, remember to read both the stdout and stderr from the process or it may be blocked.
11 of 11     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date