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

Intercepting drains, Intercepting Drains: Intercepting drains, also k...

Intercepting Drains: Intercepting drains, also known as catch-water drains, are provided in the uphill slope of hill roads to intercept the water and lead it to a natural wat

Basic keywords related to road materials, Basic Keywords related to road ma...

Basic Keywords related to road materials: Sub-grade     :            The portion of road embankment immediately below the pavement. Soil Classifications :            A sy

For the plane area shown determine the first moments, for the plane area sh...

for the plane area shown determine the first moments with respects to the x & y axis & the location of the centroid

Key distinction in arranging pumps in series, Question What is key dist...

Question What is key distinction in arranging pumps in series and in parallel? Answer For same pumps with similar functions, if pumps arranged in series, total head

Widening on curves, Widening on Curves: Pavements have to be widened ...

Widening on Curves: Pavements have to be widened on curves because of the fact that : (a) the vehicle has a wheel base and overhang on the front and rear, and the vehicle

Moment of force on shoulders, During weight training,an athlete pulls a wei...

During weight training,an athlete pulls a weight of 500 N with his arms pulling on a handlebar connected to a universal machine by a cable.Find the moment of the force about the sh

Machanics, write a short on vector representation of force(addition and sub...

write a short on vector representation of force(addition and substraction )

Reasons for blockage in pumping concrete, Q. Reasons for blockage in pumpin...

Q. Reasons for blockage in pumping concrete ? Concrete pumping is normally adopted in highly elevated locations for which access for concrete trucks is difficult. Construction

Survey, Procedures of graphical interpolation

Procedures of graphical interpolation

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