Thread vs Threadsafe - What's the difference?
thread | threadsafe |
A long, thin and flexible form of material, generally with a round cross-section, used in sewing, weaving or in the construction of string.
*{{quote-book, year=1922, author=(Michael Arlen), title=
, passage=He walked. To the corner of Hamilton Place and Picadilly, and there stayed for a while, for it is a romantic station by night. The vague and careless rain looked like threads of gossamer silver passing across the light of the arc-lamps.}}
A theme or idea.
A screw thread.
A sequence of connections.
*
*
The line midway between the banks of a stream.
(label) A unit of execution, lighter in weight than a process, generally expected to share memory and other resources with other threads executing concurrently.
(label) A series of messages, generally grouped by subject, all but the first replies to previous messages in the thread.
A filament, as of a flower, or of any fibrous substance, as of bark.
(label) Composition; quality; fineness.
* (Ben Jonson) (1572-1637)
To put thread through.
To pass (through a narrow constriction or around a series of obstacles).
* 2013 , Ben Smith, "[http://www.bbc.co.uk/sport/0/football/24503988]", BBC Sport , 19 October 2013:
To screw on, to fit the s of a nut on a bolt
(computing, programming) That can be safely accessed from multiple threads.
* 2004 , Scott Oaks, Henry Wong, Java threads
* 2006 , Dave Minter, Jeff Linwood, Beginning Hibernate: From Novice to Professional
As a noun thread
is thread (computing: unit of execution).As an adjective threadsafe is
(computing|programming) that can be safely accessed from multiple threads.thread
English
Noun
(en noun)“Piracy”: A Romantic Chronicle of These Days, chapter=Ep./1/2
- A neat courtier, / Of a most elegant thread .
Synonyms
* (theme) topicDerived terms
* hang by a thread * quadruple thread * screw thread * thread count * thread necromancy * thread pool * threadbare * threader * threadyVerb
- thread a needle
- I think I can thread my way through here, but it’s going to be tight.
- Picking the ball up in his own half, Januzaj threaded a 40-yard pass into the path of Rooney to slice Southampton open in the blink of an eye.
Derived terms
* threaded (as adjective) * multithreadedAnagrams
* * *See also
(sewing needle) ----threadsafe
English
Adjective
(-)- Only a few collection classes are threadsafe . As we'll see later, being threadsafe does not necessarily mean that you can safely use them in every multithreaded program.
SessionFactoryobjects are threadsafe , so it is not necessary to obtain one for each thread.
