Explain the thread contextual data, Operating System

Assignment Help:

Explain the Thread Contextual Data 

Threads in Net Ware carry additional context as well. Per-thread, stacks, errno, Net Ware Errno, t_errno and others are available to the application developer. In addition, Net-Ware provides a two fold  mechanism for application per-thread data management. First, Net Ware provides a  set  of calls, Save ThreadDataAreaPtr() and GetThreadDataAreaPtr, to manage per-thread contextual data. Theae functions are used to store and retrieve, respectively, per-thread user data  and may be called anywhere in an application program.

In addition, the thread contextual data managed via the above functions can be accessed through use of the get_thread_data_area_ptr( ) macro defined in library.h. This macro is used to access the thread contextual data and can be  called as an  LVALUE  to an  equation. This macro can be altered to allow a programmer to user the function as a 4-byte entity in any equation or instruction.


Related Discussions:- Explain the thread contextual data

Write a script in linux to match a data directory, Write a script that uses...

Write a script that uses this idea to print output similar to the following: Files in this directory that match *~ : bash-scripts.html~ chimpanzee~ countdown~ countd

Write pseudo code to implement the pthread create wrapper, Write pseudo cod...

Write pseudo code to implement the pthread_create wrapper of the Tern memoizer. Note you need to describe your data structure for maintaining deterministic thread IDs. In addition,

Write a short note about context switch, Write a short note about context s...

Write a short note about context switch. Switching the CPU to another process needs saving the state of the old process and loading the saved state for the new process. This ta

Define local procedure call, Q. What kinds of services does the process man...

Q. What kinds of services does the process manager provide? Define local procedure call? Answer: The process manager offers services for creating and deleting and using proce

Distinguish among a streams driver and a streams module, Q. Distinguish amo...

Q. Distinguish among a STREAMS driver and a STREAMS module? Answer: The STREAMS driver controls the physical device that could be involved in a STREAMS operation. The STREAMS

Virtualization, What factors are involved in choosing the host operating sy...

What factors are involved in choosing the host operating system?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd