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

Determine the station and elevation of turning point, A -3.00% grade inters...

A -3.00% grade intersects a +1.25% grade at Sta. 85+80 and elevation 210.00 ft.  A 350-ft vertical curve connects the two grades.  Determine the station and elevation of turning po

Mechanics of solid, determine the end slope and deflection in the beam

determine the end slope and deflection in the beam

What should be the hydrometer reading, A litre of suspension containing 0.5...

A litre of suspension containing 0.5 N of soil with a specific gravity of 2.70 is prepared for a hydrometer test. When no temperature correction is considered necessary, what shoul

Fluid mechanics, Cd of venturimeter is more than that of orificemeter

Cd of venturimeter is more than that of orificemeter

State the term - terminology, State the term - Terminology There are ma...

State the term - Terminology There are many technical terms whose understanding provides us with a good insight of  the subject. Some of  these terms are, indeed, general and t

Earth dam, earth dam design and its force

earth dam design and its force

Find the normal stress, Find the normal stress: Figure 1 shows the pro...

Find the normal stress: Figure 1 shows the projection of a rectangular prism ABCD, formed by adhesive bonding of two triangular prisms ABC and ACD. The state of stress in the

Determine the normal and shear stress elements, Determine the normal and sh...

Determine the normal and shear stress elements: The state of stress at a point is given through the stress components σ x = 70 MPa, σ y = 10 MPa, and τ xy = - 40 MPa. Using

What is main purpose of swabbing, Question After construction of waterm...

Question After construction of watermain, earlier to hydrostatic pressure test , swabbing is approved out. What is main purpose of swabbing ? Answer Pipelines ha

Civil and statistics, application of normal distribution in civil engineeri...

application of normal distribution in civil engineering

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