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

Strength of Materials , Need to know about compressive strength test and te...

Need to know about compressive strength test and tensile strength test of cement

Rubber dams – air-filled vs water-filled, Most of the existing rubber dams ...

Most of the existing rubber dams are of air-filled types. Water-filled rubber dams aren't preferred for the below reasons: (i)  By giving same sheet length and dam height, tensi

Darwing, construction the ellips in all method

construction the ellips in all method

Calculate the fuel consumed, A 160-HP Diesel engine (peak fuel consumption ...

A 160-HP Diesel engine (peak fuel consumption = 0.04-gal/HP-hr) hydraulic excavator operates on a cycle time of 20 seconds during a 50-min/hr.  During the filling of the bucket cyc

Quality control in flexible pavements, Quality Control in Flexible Pavement...

Quality Control in Flexible Pavements: The quality control needed for Flexible Pavements covers the following tests : (a) Density and Moisture content of sub-grade. (b)

Coagulation, incoming water contains 15 mg/L as a substance

incoming water contains 15 mg/L as a substance

Purpose of setting minimum amount of longitudinal steel area, Q. Purpose o...

Q. Purpose of setting minimum amount of longitudinal steel areas for columns? In some design codes it specifies that area of longitudinal steel reinforcement must be not less

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