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

Continuous flow systems, Continuous Flow Systems: Transport by road, r...

Continuous Flow Systems: Transport by road, rail, air or ships takes place in vehicles which move along a path at intervals. As against this, continuous flow systems are those

Inspection of girder bridge, Q. As an AEN in charge, what inspection will...

Q. As an AEN in charge, what inspection will you under taken at the time of inspection of Girder Bridge 3 x 60 feet. Please explain the important items to be o

Key role of drilling fluid in rotary drilling, Question What is key rol...

Question What is key role of drilling fluid in rotary drilling in site search? Answer Drill fluid in rotating serves two main reasons. (i) Facilitate rotation of

Direction of placing the main weight of reinforcement, Q. Direction of plac...

Q. Direction of placing the main weight of reinforcement in concrete pavement? The reinforcement of concrete pavement is typically in the form of longmesh type. A road generall

Courswork, looking for someone good at structure analysis and design cours...

looking for someone good at structure analysis and design courswork

Centroid, use of centroid in civil engineering

use of centroid in civil engineering

Collapse mechanisms in unsymmetrical portal frames, How to find beam,sway a...

How to find beam,sway and combined mechanisms for unsymmetrical portal frames? Also how to find the critical mechanisms by using plotting method?

Laplace transform, Using Laplace transfom, the following differential equat...

Using Laplace transfom, the following differential equation d y dy dt reduces to the algebraic equation of the form Resolve y(s) into partial fractions

Arches and lintels, classification of arches based on their shape are?

classification of arches based on their shape are?

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