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

Properties of stones, Properties of Stones The following properties of ...

Properties of Stones The following properties of the stones should betake into account before choosing them for engineering works: Structure: The structure of the stone ca

Borrow pits - embankment construction, Borrow Pits Borrow pits are th...

Borrow Pits Borrow pits are the locations from where the embankment soil is obtained. The following guidelines govern the location of borrow pits : (a) They should be pref

What are the uses of groynes, They stop, or slow down erosion, and stop lon...

They stop, or slow down erosion, and stop long shore drift. This, though, can have bad knock-on effects somewhere near.

#title., desirable properties in green concrete

desirable properties in green concrete

Shrinkage of concrete in prestressed members, Shrinkage of concrete in pres...

Shrinkage of concrete in prestressed members The shrinkage of concrete in prestressed members results in a shortening of ensioned wires and hence contributes to the loss of st

Define the arrow diagramming method, Define the Arrow Diagramming Method ...

Define the Arrow Diagramming Method Activity-on-Arrow (Branch) with nodes as dependencies Uses finish-to-start precedence only. The solution method for an activity on

Environmental Question, An activated sludge tank treats 1 MGD from the pri...

An activated sludge tank treats 1 MGD from the primary clarify and has an X of 2200 ppm SS. The water euent is 0.9 MGD. 1.0 MGD of the sludge is recycled back into the tank and has

Concrete, types of concrete and its uses

types of concrete and its uses

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