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

Explain the classification of solid waste, Explain the Classification of So...

Explain the Classification of Solid Waste  Solid waste can be classified in several different ways.  Putrescible waste - Animal and Vegetable waste From Cooking and

What do you mean by piston sampler, Q. What do you mean by Piston sampler? ...

Q. What do you mean by Piston sampler? In sampling silts orclays, Piston sampler is lowered into boreholes and piston is locked at bottom of the sampler. This stops debris from

Grillage foundation, what are the advantages of grillage foundation and why...

what are the advantages of grillage foundation and why people prefers that?

Retaioning walls, what are the uses of retaining wall?!

what are the uses of retaining wall?!

Determine about the long-term deflections, Determine about the long-term de...

Determine about the long-term deflections For long-term deflections, the total long-term deflection due to the prestressing force, dead load and any sustained imposed load may

Calculate uniform annual cost for maintenance and repair, A contractor purc...

A contractor purchased a Caterpillar D-13 dozer for $100,000 and owned it for five years. The annual cost for maintenance and repair is provided in the Table. With annual interest

Functions of a column in a building, What are the functions of a column in ...

What are the functions of a column in a building? Ans) A column is used to handle the weight of the roof and/or the upper floors. Now days, many columns are used for decorative

Machanics, differentiate between moment & couple

differentiate between moment & couple

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