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

Calculate the effective annual interest rate, A credit card advertises a no...

A credit card advertises a nominal rate of 18% compounded monthly. If no monthly payments are made, the effective annual interest rate is most nearly: The actual rate is, (18%

Fly levelling, what is meant by fly levelling and when it is carried out ?

what is meant by fly levelling and when it is carried out ?

Load carrying element of min-piles, Q. A pipe or groups of bars be adopted ...

Q. A pipe or groups of bars be adopted as load carrying element of min-piles? The design of mini-piles someway differs from other traditional pile types. For example the design

Flow diagram of wet process, what type of basin in which is stored and wha...

what type of basin in which is stored and what is silos what is channel and correcting basins what type of clinker is formed

Dimples in polytetrafluoroethylene, Dimples in Polytetrafluoroethylene (PTF...

Dimples in Polytetrafluoroethylene (PTFE) PTFE is a fluorocarbon polymer that possesses good chemical resistance and can function in a wide range of temperature. The most signi

Major dissimilarity between standpipe, Question What is major dissimila...

Question What is major dissimilarity between standpipe, standpipe piezometer and piezometer ? Answer Standpipe usually contains plastic pipes with punctured holes at

Dynamics202, Determine the minimum speed of the stunt rider, so that when h...

Determine the minimum speed of the stunt rider, so that when he leaves the ramp at A he passes through the center of the hoop at B. [5 Points] 2. How far h should the landing ramp

Determine the total head and total pressure of water, Determine the total h...

Determine the total head and total pressure of water flowing at  in a pipe which has the following data: Flow= 2,500 gpm; Elevation = 30 ft; Pressure = 40 psi; Pipe Diameter =

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