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

Estimate the minimum electric power, The sketch shows a common consumer pro...

The sketch shows a common consumer product called Water Pik. This device uses a motor to drive a piston pump that produces a jet of water (diameter d = 3 mm, temperature T = 10 °C)

Elongation, Elongation of bar due to self weight

Elongation of bar due to self weight

Classification of bricks based on their quality, Classification of Bricks B...

Classification of Bricks Based on their Quality The bricks used in construction are classified as following: First class bricks Second class bricks Third class bric

Define the concept of creep of concrete, Define the concept of Creep of Con...

Define the concept of Creep of Concrete Creep of concrete is another important characteristic. It represents progressive strains in concrete which occur at constant value of st

Method of section, III. Calculate the magnitude and sense of the member for...

III. Calculate the magnitude and sense of the member forces BC, BG and HG using the method of sections

Coatings at the back faces of abutments, Q. Coatings at the back faces of a...

Q. Coatings at the back faces of abutments? There are many views on the necessity of application of protective coatings (can be in the form of two coats of paint) to the back f

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