Explain the createthread function used in the windows nt, Civil Engineering

Assignment Help:

Explain the CreateThread Function used in the Windows NT

CreateThread(security, size, MyThreadFunction, arg, flag,&tID )

The CreateThread function call is used to start an instance of a Thread and to begin its execution. The developer must pass a security descriptor (security), a stack size (size), start address for the new thread (My ThreadFunction), a 32-bit argument to be passed to the new thread (arg), and create flags (flags). Upon successful initiation of the thread, the threadID will be returned in tID.

It is the responsibility of Windows NT to create, expand, and free the stack for the target thread. A security descriptor may also be passed to the Create function in order to enforce access rules for the thread handle. With Windows NT, the underlying security system can restrict access to handles. If no security descriptors are provided, the handle returned has full access rights. In addition, optional flags allow the thread to be started in a suspended state.


Related Discussions:- Explain the createthread function used in the windows nt

High temperature in laying bituminous pavement, High temperature in laying ...

High temperature in laying bituminous pavement Generally bituminous materials are also broadly categorized into two types viz bitumen McAdamsand hot-rolled asphalts. At the ti

What is switch and expansion joint, Q. What is Switch and Expansion Joint? ...

Q. What is Switch and Expansion Joint? Switch Expansion, Joint (SEJ) is an expansion joint installed at each end of LWR/CWR to permit expansion/contraction of the adjoining bre

Highway economics, What is highway economics and what are its main contents...

What is highway economics and what are its main contents to study ?

Sea breeze and land breeze, Explain the following: (a) Sea breeze and L...

Explain the following: (a) Sea breeze and Land breeze (b) What is Thermal comfort (c) What is Global wind pattern and Coriolis effect (d) How wind affects the tempe

Major considerations in selecting marine plants, Question What are majo...

Question What are major considerations in selecting marine plants and land plants for fitting of band drains? Answer For fitting of band drains by marine plants,

Road drainage and maintenance, Road Drainage and Maintenance: The life...

Road Drainage and Maintenance: The life of a road depends upon how well and quickly the water is drained away from its various components. Similarly, regular and periodic insp

How is skin friction and point resistance of a pile computed, Describe the ...

Describe the basic difference in the bearing capacity computation of shallow and deep foundations. How are skin frictions and point resistance of a pile computed?

Bond performance of bar reinforcement, Question Does occurrence of rust hav...

Question Does occurrence of rust have adverse collision to bond performance of bar reinforcement ? Answer In fact, presence of rust in bars cannot have adverse impact to the bo

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