Académique Documents
Professionnel Documents
Culture Documents
Multithreading Issues
Below we have mentioned a few issues related to multithreading. Well, it's
an old saying, All good things, come at a price.
Thread Cancellation
Thread cancellation means terminating a thread before it has finished
working. There can be two approaches for this, one is Asynchronous
cancellation, which terminates the target thread immediately. The other is
Deferred cancellation allows the target thread to periodically check if it
should be cancelled.
Signal Handling
Signals are used in UNIX systems to notify a process that a particular event
has occurred. Now in when a Multithreaded process receives a signal, to
which thread it must be delivered? It can be delivered to all, or a single
thread.
fork() System Call
fork() is a system call executed in the kernel through which a process
creates a copy of itself. Now the problem in Multithreaded process is, if one
thread forks, will the entire process be copied or not?
Security Issues
Yes, there can be security issues because of extensive sharing of resources
between multiple threads.
There are many other issues that you might face in a multithreaded
process, but there are appropriate solutions available for them. Pointing
out some issues here was just to study both sides of the coin.
http://www.just.edu.jo/~tawalbeh/nyit/csci620/slides/ch14.pdf
https://www.cs.uic.edu/~jbell/CourseNotes/OperatingSystems/14_Protecti
on.html
https://www.wiley.com/college/silberschatz6e/0471417432/slides/pdf2/mo
d19.2.pdf
Authentication
• User card/key − User need to punch card in card slot, or enter key
generated by key generator in option provided by operating system
to login into the system.
Program Threats
• Trojan Horse − Such program traps user login credentials and stores
them to send to malicious user who can later on login to computer
and can access system resources.
System Threats
There is no perfect definition for a trusted operating system other than that
it is an operating system that meet these standards. These standards may
also vary from country to country. Some countries may due to political or
technical reasons consider the standards prescribed by another group to be
insecure and may have their own standards to call an OS tursted.
Software is trusted software if we know that the code has been rigorously
developed and analyzed, giving us reason to trust that the code does what
Model - designers must be confident that the proposed system will meet its
Secure Trusted
A goal A characteristic