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

Calculate the total passive earth resistance on the wall, A  retaining wall...

A  retaining wall, 4.5 m high, retains a soil with  c = 2 N/cm 2 ,  φ = 30° and g = 20 kN/m 3 , with horizontal surface level with the top of the wall. The backfill carries a surch

Rehabilitation of Concrete Roads, Step by step rehabilitation strategies wi...

Step by step rehabilitation strategies with drawing, figures, and illustrations

Purification and treatment of water, Purification and Treatment of Water: ...

Purification and Treatment of Water: In purification and treatment of water, we have discussed the important treatment process which is commonly used in making raw water from

Concrete , advantage and disadvantage of concrete

advantage and disadvantage of concrete

Determine the required stirrup size and spacing requirement, A rectangular ...

A rectangular concrete beam is subjected to a factored design shear force of 200 kips.  For the beam shown below, determine the required stirrup size and spacing requirement. H = 3

Function of longitudinal joints in concrete road pavements, Question Wh...

Question What is function of longitudinal joints in concrete road pavements ? Answer A longitudinal joint consists of a tie bar located at mid-depth of a concrete pav

Shear force and bending moment, relation between shear force and bending mo...

relation between shear force and bending moment and examples based on those relationship

Pipes, difference between delievery and suction pipe?

difference between delievery and suction pipe?

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