Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
explain the resource ownership by platformownership of data items may further be complicated by concepts defined in certain operating systems each
determine the requiring variables on the scope of a threadit is very common in server application programs to require variables on the scope of a
explain the per thread scopingthread-level programming introduces new twists for application-level variable scoping threads are commonly used in one
define the global vs local variablesit is also important to discuss the scope of resources being granted to the application program variable
explain the resource ownership and controloperating systems are required to handle many different types of resources cpu memory and io devices
explain doscreatethread functions used in the os2 doscreatethreadampthreadidmythreadfunctionargflagsstacksizedoscreatethread creates a thread
define the os2 threads codethe sample program in listing is very similar to the netware example os2 commands are substituted for the pseudocode
explain the sleep ms function this call places the current thread in a suspended state for the number of milliseconds passed as the parameter ms
explain the exitthread function used in the windows ntexitthreadexitcodethe exitthread call is made to end the currently running thread if the
explain the scheduleworktodo function used in netwarescheduleworktodomythread function arg worktodothe scheduleworktodo function is specific to
explain the threadswitchwithdelay function used in netwarethreadswitchwithdelay this command is used when threads are waiting for an event or
explain the threadswitch function used in the netwaresince netware 3 and 4 are nonpreemptive environments it may be necessary for the application
explain the beginthread function used in the netware example codebeginthreadmythread function stacksize argbeginthread creates a thread and places it
developing code with threadswriting code to support a thread-based implementation is very straightforward simple apis are presented to the developer
define the executor worker thread the responsibility of the executor or worker threads is to execute instructions on behalf of a client-server
explain the worker modelthe worker model of client-server application architecture provides a very good understanding of threads and their power to
define what is dispatcherin the worker model it is the task of the dispatcher to spawn a thread for every client-to-server connection the dispatcher
define the server communications module or scmthe server communications module scm performs many necessary functions the scm responsible for
explain the architecting for threadswhen available threads are an integral part of any multitasking server application program it is important that
explain threads for executing concurrent application codethe thread has been introduced in many operating systems as an efficient mechanism for
explain the spawnvp function used in the netwarespawnvpflags execnmae argv this function executes similarly to spawnlp except that
explain the spawnlp functions used in the netwarespawnlpflags execname arg0 the spawnlp function is used to load a netware executable file nlm
explain the novell netware netware doesnt really have the concept of processes in the architecture as the most closely associated
define the dossleepms function used in the os2dossleep suspends the currently executing thread for some time interval specified in the ms
define the dosexit function used in the os2dosexitaction resultcode dosexit function is to be called when a thread or process is finished