Home > Net > Designed for c # personnel encapsulation kernel-level thread pool, hardware operation more easy and
Designed for c # personnel encapsulation kernel-level thread pool, hardware operation more easy and
Time:09-20
Abandon your timer component, overlapping the direct use of kernel level IO develop your hardware, and you can use the thread pool design more ideas, the encapsulation is limited to technical communication
Link: https://pan.baidu.com/s/1BNZI5EOG1LaYWcgj_UGIpg The extracted code: ZJNW
CodePudding user response:
The Thread pool for a Task and directly using Thread ThreadPool advantage
CodePudding user response:
So big, why not throw to the git, lets everybody directly judged,
CodePudding user response:
You to test to know, where is the specific advantage your test
CodePudding user response:
I hope you can provide a BUG for me to modify
CodePudding user response:
Making on open please, if difficult here, at least also code on cloud Baidu network backup source really inappropriate
CodePudding user response:
Inside the zip code, documentation,
CodePudding user response:
What this for??
CodePudding user response:
Is the way I opened the wrong? I download prompt a compressed packet error several times.
Another really consider 1 # is.. Since you can write good things.. Has to have at least a few words of introduction.
Advantage?
CodePudding user response:
1. I down after the program compiled but 2. You said the operation is simple and c # native threads model Thread ThreadPool Task compare your strengths rather than allow ourselves to feel because most people with the above three kinds of already very skilled amount (3) is to provide a better use the sample point
CodePudding user response:
And I am using VS2013
CodePudding user response:
Visual studio 2017 compiled for X64 and X86 cannot use anycpu platform, the thread pool is used kernel-level threads, thread is not using c #, IO model using IOCP model design, fine in serial operation, in addition, in the use of the thread pool won't worry about the schedule, the resource scheduling is assigned by the kernel of intelligent,