Thread Safety

What is it?


Thread safety is the practice of keeping threads from stomping on each other. For example: immutable objects are thread safe because the structure (members) of the object can not be changed by any one thread.

CREATED 2013-01-16 13:53:00.0

00-19-70

UPDATED 2013-01-16 13:54:48.0

Ways to Make Threads Safe...


Alternatives

Use Local Variables

Primitive types as method arguments

Immutable objects

Constructor operations

Use objects as private entities with no mutators

CREATED 2013-01-08 15:46:29.0

00-19-5C

UPDATED 2013-01-16 14:06:10.0


CREATED 2013-01-16 13:58:19.0

00-19-71

UPDATED 2013-01-16 14:01:51.0

L
I
N
K
S

DBID: db.wam

Page Server: Ithica

©2019 Leistware.com
        Hello anonymous