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

State the term axial prestressingin - Concrete, State the term Axial Prestr...

State the term Axial Prestressingin Concrete If the centroid of cross-sectional areas of tendons is at the location of the centroid of the cross-section of the concrete member,

Som, derive the expression for stress in arbitrary plane in a body subjecte...

derive the expression for stress in arbitrary plane in a body subjected to bi axial stress condition

Determine the weight of one gallon of ferric chloride, The specific gravity...

The specific gravity of ferric chloride solution equals 1.3.  How much does one gallon of ferric chloride weigh?  Solution:  ρ ferric chloride /ρ water = 1.3       Conver

What is the meaning of term - slip in anchorage, What is the meaning of ter...

What is the meaning of term -Slip in Anchorage In the case of post-tensioned concrete, when the tendons are anchored at the ends of concrete members, a slip of  tendons takes

Gas welding be erected in upright position, Question Explain some reaso...

Question Explain some reasons why should acetylene gas cylinders used for gas welding be erected in upright position? Answer Acetylene gas is usually used for gas wel

Water absorption test - tests on stones, Water Absorption Test: In t...

Water Absorption Test: In this test cube specimen weighing approximate 50 grams are prepared and the test is carried out in the steps following: 1.    Note down the weigh

Shrinkage of concrete in prestressed members, Shrinkage of concrete in pres...

Shrinkage of concrete in prestressed members The shrinkage of concrete in prestressed members results in a shortening of ensioned wires and hence contributes to the loss of st

Project management, know the planking and strutting for shallow excavation...

know the planking and strutting for shallow excavation

Define the finish to finish activity, A finish-to-finish activity is best d...

A finish-to-finish activity is best described as: The "from" activity must finish before the "to" activity can finish The "from" activity must finish before the "to" acti

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