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

Concrete, types of concrete and its uses

types of concrete and its uses

Determine the allowable bearing pressure of the sand, Two load tests were c...

Two load tests were conducted at a site-one with a 0.5 m square test plate and the other with a 1.0 m square test plate. For a settlement of 25 mm, the loads were found to be 60 kN

Define design aspects of pot bearing, Define Design Aspects of Pot Bearing?...

Define Design Aspects of Pot Bearing? Basic elements of a POT bearing are: - POT or a shallow cylinder - An elastomeric pad - A set of sealing rings - A piston P

Calculate the ultimate compressive strength, Calculate the ultimate compres...

Calculate the ultimate compressive strength A 6 in. by 12 in. cylinder failed at an axial compressive force of 120,000-lbf, at 28 days. Calculate the ultimate compressive stren

Compute the ultimate settlement, A 2 m wide strip footing is to be constru...

A 2 m wide strip footing is to be constructed in a sandy stratum of 2 m thick. The depth of the footing is 1 m below ground surface. The sand layer is underlain by lm thick cla

Formation of holes in pipelines, Question While branch pipelines are co...

Question While branch pipelines are connected to pipelines, now and then Y-junctions or fitting branched pipelines to key pipelines by formation of holes in pipelines are u

Verify the void ratio and water content, Derive the relation among void rat...

Derive the relation among void ratio (e), specific gravity of particles (G) and moisture content at full saturation (w). A certain sample of saturated soil in a container weighs

Fly levelling, what is fly levelling? when it is carried out ?

what is fly levelling? when it is carried out ?

Land Surveying, What is the difference between accuracy and precision.

What is the difference between accuracy and precision.

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