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

Plane tabling, difference between compass suveying and chain surveying

difference between compass suveying and chain surveying

Quantitative Influence Line, Solve the following three questions of the bea...

Solve the following three questions of the beam ABCD. Note that A is a fixed end; B is apin connection; C is a roller support; and D is a free end. 1) Sketch the quantitative

How to evaluate quality of bricks, Q. How to evaluate quality of Bricks? ...

Q. How to evaluate quality of Bricks? 1. Clour -Deep red, Carry red, Copper red, colour is indication of uniform burning and also suggests quality of clay used. Over brunt bric

Pulverized fly ash as cement replacement, Q. Pulverized fly ash as cement r...

Q. Pulverized fly ash as cement replacement? Pulverized fly ash is a type of pozzolans. It is analuminous or siliceous material that possesses no binding ability by itself. Whe

Will water damage concrete, As far as only concrete is concerned i.e. plain...

As far as only concrete is concerned i.e. plain concrete, the effect of water seepage is very little (depending upon the grade of concrete) whereas for RCC (reinforced cement concr

Afflux on account of obstruction to flow, Q. Afflux on account of obstructi...

Q. Afflux on account of obstruction to flow? Even if the river constriction on account of approach banks is not excessive and bridge waterway is wider than that causing critica

On-line storage vs. off-line storage, On-line storage vs. off-line storage ...

On-line storage vs. off-line storage Design of storage pond is commonly divided into off -line storage and on-line storage. The on-line storage concept includes inclusion of s

Define electrical tool for underwater inspection of bridge, Define Electric...

Define Electrical tool for underwater inspection of bridge? Electrical equipment like Rebar Scanner for scanning of rebars; underwater sonic and ultrasonic equipment for observ

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