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

Ecology, subdivisions of ecology

subdivisions of ecology

Reinforcement in thrust blocks, Reinforcement in thrust blocks In gene...

Reinforcement in thrust blocks In general situation, reinforcement isn't essential for thrust blocks in pressurized pipelines. Though certain amount of reinforcement hasto be

What is oil interceptors, Q. What is Oil interceptors ? Oils and Grease...

Q. What is Oil interceptors ? Oils and Grease are usually found in stormwater runoff from catchments. They come from spillage and leakage of fuels, lubricants, Vehicle coolants

Chemistry, Construction and working of calomel electrode

Construction and working of calomel electrode

Obtain maximum positive moment in a span of continuous beam, Reason of load...

Reason of loading on alternative spans to obtain maximum positive moment in a span of a continuous beam To attain a maximum sagging moment in a span of a continuous beam, gene

Calculate the diameter of the stockpile, 1. On a 5-acre level terrain build...

1. On a 5-acre level terrain building site, an earthwork contractor has instructed her crew to strip and grub the topsoil of a 60,000-ft 2 proposed building pad to a minus 2-ft su

Inspection and quality control certificate, Q. Inspection and Quality Contr...

Q. Inspection and Quality Control Certificate : A 'lot' under inspection should be accepted by the inspector when no defect is found in the acceptance level tests and so certif

How can a temporary diversion to laid, Q. How can a temporary diversion to ...

Q. How can a temporary diversion to laid a cross flowing river in case of disruption to rail traffic over a major bridge lasting over 6 months. Ans.- Temporary diversion

Radial contour, how to calculate distance for radial contour

how to calculate distance for radial contour

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