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

Energy dissipation at outlets - typical drainage outlet, Q. Energy dissipat...

Q. Energy dissipation at outlets - typical drainage outlet? Flow velocity at outlets is generally high. Without proper control of this energy, subsequent bank erosion can resu

Explain about noise absorptive materials, Q. Explain about Noise absorptive...

Q. Explain about Noise absorptive materials? The fundamental mechanism of noise absorptive material is to change the acoustic energy into heat energy. Amount of heat produced i

Measure the stress increment, A raft of size 4 m × 4 m carries a uniform lo...

A raft of size 4 m × 4 m carries a uniform load of 200 kN/m 2 . Using the point load approximation with four equivalent point loads, measure the stress increment at a point in the

Explain national priorities list (npl) - hazardous waste, Explain National ...

Explain National Priorities List (NPL) - Also known as superfund list - Identify sites which appear to present a significant risk to public health or the environment (Throug

Explain the critical depth, Explain the Critical Depth d c is the dept...

Explain the Critical Depth d c is the depth of flow in an open channel that has the lowest energy.  In rectangular open channels:  (d c ) 3 = Q 2 /g(w) 2 In nonrectang

Pumping at joints in concrete carriageway, Q. Pumping at joints in concrete...

Q. Pumping at joints in concrete carriageway? Pumping at joints in concrete carriageway takes place in the presence of the below factors: (i)  Fine-grained subgrade (ii)

Resting on several raking piles, Question Should dolphins be designed i...

Question Should dolphins be designed in a rigid manner such as resting on several raking piles? Answer While designing dolphins, they are normally supported on a syste

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