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

Task decomposition and data decomposition, Discuss the concepts of  task de...

Discuss the concepts of  task decomposition  and  data decomposition  within the context of parallel programming. Parallel programming or parrelel computing is the simultaneo

Memory Management Problems, Sir i want formulas in Memory management starti...

Sir i want formulas in Memory management starting from paging till the demang paging in a easy manner for solving problems in competitive exams

Dynamic memory management, Usually memory is allocated from a large pool of...

Usually memory is allocated from a large pool of unused memory area called the heap. In C++, dynamic allocation/deallocation must be manually performed using commands like malloc,

Explain the concept of reentrancy, Explain the concept of Reentrancy? I...

Explain the concept of Reentrancy? It is a useful, memory-saving method for multiprogrammed timesharing systems. A Reentrant Procedure is one in which many users can share a si

Sector sparing, What is sector sparing is proper definition

What is sector sparing is proper definition

Define file permission in unix, The permission function is used to calculat...

The permission function is used to calculate what, if any access each class or level of user has to each file on a Unix machine. The permission task is one of the data components s

What are the various layers of a file system, What are the various layers o...

What are the various layers of a file system? The file system is composed of many dissimilar levels. Each level in the design uses the feature of the lower levels to make new f

Explain why sstf scheduling tends to favor middle cylinders, Explain why SS...

Explain why SSTF scheduling tends to favor middle cylinders over the innermost and outermost cylinders. The center of the disk is the location having the fewest average distanc

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

What factors are involved in choosing the host operating system?

Utility programs, Utility Programs: those programs which are not the essen...

Utility Programs: those programs which are not the essential part of operating system. But they provide different utilities / features to the users e.g. MS-DOS : Fdisk, FORMAT, AT

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