Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Texas2Step is offline Gold Member
    Join Date
    Aug 2011
    Posts
    69

    Default thread-safe code

    In computer coding, what does it mean if a code is "thread-safe?"

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,081

    Default

    A piece of code is thread-safe if it only manipulates shared data structures in a thread-safe manner, which enables safe execution by multiple threads at the same time. There are various strategies for making thread-safe data structures
    Thread safety - Wikipedia, the free encyclopedia


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts