基本信息
源码名称:C++线程与智能指针源码
源码大小:30.93M
文件格式:.zip
开发语言:C/C++
更新时间:2023-05-09
   源码介绍

C 线程与智能指针源码

C 线程与智能指针实操


.
├── __MACOSX
│   └── 资源
├── 资源
│   ├── Pre-built.2
│   │   ├── ANNOUNCE
│   │   ├── BUGS
│   │   ├── CONTRIBUTORS
│   │   ├── COPYING
│   │   ├── COPYING.LIB
│   │   ├── ChangeLog
│   │   ├── FAQ
│   │   ├── MAINTAINERS
│   │   ├── NEWS
│   │   ├── PROGRESS
│   │   ├── README
│   │   ├── README.Borland
│   │   ├── README.CV
│   │   ├── README.NONPORTABLE
│   │   ├── README.Watcom
│   │   ├── README.WinCE
│   │   ├── WinCE-PORT
│   │   ├── dll
│   │   │   ├── x64
│   │   │   │   ├── pthreadGC2.dll
│   │   │   │   └── pthreadVC2.dll
│   │   │   └── x86
│   │   │       ├── pthreadGC2.dll
│   │   │       ├── pthreadGCE2.dll
│   │   │       ├── pthreadVC2.dll
│   │   │       ├── pthreadVCE2.dll
│   │   │       └── pthreadVSE2.dll
│   │   ├── include
│   │   │   ├── pthread.h
│   │   │   ├── sched.h
│   │   │   └── semaphore.h
│   │   └── lib
│   │       ├── x64
│   │       │   ├── libpthreadGC2.a
│   │       │   └── pthreadVC2.lib
│   │       └── x86
│   │           ├── libpthreadGC2.a
│   │           ├── libpthreadGCE2.a
│   │           ├── pthreadVC2.lib
│   │           ├── pthreadVCE2.lib
│   │           └── pthreadVSE2.lib
│   ├── QueueUserAPCEx
│   │   ├── COPYING.LIB
│   │   ├── Readme.txt
│   │   ├── driver
│   │   │   ├── MAKEFILE
│   │   │   ├── Sources
│   │   │   ├── alertdrv.c
│   │   │   ├── alertdrv.ini
│   │   │   ├── alertdrv.rc
│   │   │   ├── alertdrv.reg
│   │   │   └── install.bat
│   │   ├── execs
│   │   │   └── alertdrv.sys
│   │   ├── testapp
│   │   │   ├── QueueUserAPCEx.c
│   │   │   ├── QueueUserAPCEx.h
│   │   │   ├── testapp.c
│   │   │   └── testapp.dsp
│   │   └── user
│   │       ├── GNUmakefile
│   │       ├── Makefile
│   │       ├── QueueUserAPCEx.c
│   │       ├── QueueUserAPCEx.h
│   │       ├── quserex.dll
│   │       └── quserex.lib
│   ├── lsn6_example
│   │   ├── CMakeLists.txt
│   │   └── lsn6_example
│   │       ├── CMakeLists.txt
│   │       ├── Ptr.h
│   │       ├── lsn6_example.cpp
│   │       ├── lsn6_example.h
│   │       └── safe_queue.h
│   ├── lsn6_example.zip
│   ├── pthreads-w32-2-9-1-release.zip
│   ├── pthreads.2
│   │   ├── ANNOUNCE
│   │   ├── BUGS
│   │   ├── Bmakefile
│   │   ├── CONTRIBUTORS
│   │   ├── COPYING
│   │   ├── COPYING.LIB
│   │   ├── ChangeLog
│   │   ├── FAQ
│   │   ├── GNUmakefile
│   │   ├── MAINTAINERS
│   │   ├── Makefile
│   │   ├── NEWS
│   │   ├── Nmakefile
│   │   ├── Nmakefile.tests
│   │   ├── PROGRESS
│   │   ├── README
│   │   ├── README.Borland
│   │   ├── README.CV
│   │   ├── README.NONPORTABLE
│   │   ├── README.Watcom
│   │   ├── README.WinCE
│   │   ├── TODO
│   │   ├── WinCE-PORT
│   │   ├── attr.c
│   │   ├── autostatic.c
│   │   ├── barrier.c
│   │   ├── builddmc.bat
│   │   ├── cancel.c
│   │   ├── cleanup.c
│   │   ├── condvar.c
│   │   ├── config.h
│   │   ├── context.h
│   │   ├── create.c
│   │   ├── dll.c
│   │   ├── errno.c
│   │   ├── exit.c
│   │   ├── fork.c
│   │   ├── global.c
│   │   ├── implement.h
│   │   ├── manual
│   │   │   ├── ChangeLog
│   │   │   ├── PortabilityIssues.html
│   │   │   ├── index.html
│   │   │   ├── pthreadCancelableWait.html
│   │   │   ├── pthread_attr_init.html
│   │   │   ├── pthread_attr_setstackaddr.html
│   │   │   ├── pthread_attr_setstacksize.html
│   │   │   ├── pthread_barrier_init.html
│   │   │   ├── pthread_barrier_wait.html
│   │   │   ├── pthread_barrierattr_init.html
│   │   │   ├── pthread_barrierattr_setpshared.html
│   │   │   ├── pthread_cancel.html
│   │   │   ├── pthread_cleanup_push.html
│   │   │   ├── pthread_cond_init.html
│   │   │   ├── pthread_condattr_init.html
│   │   │   ├── pthread_condattr_setpshared.html
│   │   │   ├── pthread_create.html
│   │   │   ├── pthread_delay_np.html
│   │   │   ├── pthread_detach.html
│   │   │   ├── pthread_equal.html
│   │   │   ├── pthread_exit.html
│   │   │   ├── pthread_getunique_np.html
│   │   │   ├── pthread_getw32threadhandle_np.html
│   │   │   ├── pthread_join.html
│   │   │   ├── pthread_key_create.html
│   │   │   ├── pthread_kill.html
│   │   │   ├── pthread_mutex_init.html
│   │   │   ├── pthread_mutexattr_init.html
│   │   │   ├── pthread_mutexattr_setpshared.html
│   │   │   ├── pthread_num_processors_np.html
│   │   │   ├── pthread_once.html
│   │   │   ├── pthread_rwlock_init.html
│   │   │   ├── pthread_rwlock_rdlock.html
│   │   │   ├── pthread_rwlock_timedrdlock.html
│   │   │   ├── pthread_rwlock_timedwrlock.html
│   │   │   ├── pthread_rwlock_unlock.html
│   │   │   ├── pthread_rwlock_wrlock.html
│   │   │   ├── pthread_rwlockattr_init.html
│   │   │   ├── pthread_rwlockattr_setpshared.html
│   │   │   ├── pthread_self.html
│   │   │   ├── pthread_setcancelstate.html
│   │   │   ├── pthread_setcanceltype.html
│   │   │   ├── pthread_setconcurrency.html
│   │   │   ├── pthread_setschedparam.html
│   │   │   ├── pthread_spin_init.html
│   │   │   ├── pthread_spin_lock.html
│   │   │   ├── pthread_spin_unlock.html
│   │   │   ├── pthread_timechange_handler_np.html
│   │   │   ├── pthread_win32_attach_detach_np.html
│   │   │   ├── pthread_win32_test_features_np.html
│   │   │   ├── sched_get_priority_max.html
│   │   │   ├── sched_getscheduler.html
│   │   │   ├── sched_setscheduler.html
│   │   │   ├── sched_yield.html
│   │   │   └── sem_init.html
│   │   ├── misc.c
│   │   ├── mutex.c
│   │   ├── need_errno.h
│   │   ├── nonportable.c
│   │   ├── private.c
│   │   ├── pthread.c
│   │   ├── pthread.dsp
│   │   ├── pthread.dsw
│   │   ├── pthread.h
│   │   ├── pthread_attr_destroy.c
│   │   ├── pthread_attr_getdetachstate.c
│   │   ├── pthread_attr_getinheritsched.c
│   │   ├── pthread_attr_getschedparam.c
│   │   ├── pthread_attr_getschedpolicy.c
│   │   ├── pthread_attr_getscope.c
│   │   ├── pthread_attr_getstackaddr.c
│   │   ├── pthread_attr_getstacksize.c
│   │   ├── pthread_attr_init.c
│   │   ├── pthread_attr_setdetachstate.c
│   │   ├── pthread_attr_setinheritsched.c
│   │   ├── pthread_attr_setschedparam.c
│   │   ├── pthread_attr_setschedpolicy.c
│   │   ├── pthread_attr_setscope.c
│   │   ├── pthread_attr_setstackaddr.c
│   │   ├── pthread_attr_setstacksize.c
│   │   ├── pthread_barrier_destroy.c
│   │   ├── pthread_barrier_init.c
│   │   ├── pthread_barrier_wait.c
│   │   ├── pthread_barrierattr_destroy.c
│   │   ├── pthread_barrierattr_getpshared.c
│   │   ├── pthread_barrierattr_init.c
│   │   ├── pthread_barrierattr_setpshared.c
│   │   ├── pthread_cancel.c
│   │   ├── pthread_cond_destroy.c
│   │   ├── pthread_cond_init.c
│   │   ├── pthread_cond_signal.c
│   │   ├── pthread_cond_wait.c
│   │   ├── pthread_condattr_destroy.c
│   │   ├── pthread_condattr_getpshared.c
│   │   ├── pthread_condattr_init.c
│   │   ├── pthread_condattr_setpshared.c
│   │   ├── pthread_delay_np.c
│   │   ├── pthread_detach.c
│   │   ├── pthread_equal.c
│   │   ├── pthread_exit.c
│   │   ├── pthread_getconcurrency.c
│   │   ├── pthread_getschedparam.c
│   │   ├── pthread_getspecific.c
│   │   ├── pthread_getunique_np.c
│   │   ├── pthread_getw32threadhandle_np.c
│   │   ├── pthread_join.c
│   │   ├── pthread_key_create.c
│   │   ├── pthread_key_delete.c
│   │   ├── pthread_kill.c
│   │   ├── pthread_mutex_consistent.c
│   │   ├── pthread_mutex_destroy.c
│   │   ├── pthread_mutex_init.c
│   │   ├── pthread_mutex_lock.c
│   │   ├── pthread_mutex_timedlock.c
│   │   ├── pthread_mutex_trylock.c
│   │   ├── pthread_mutex_unlock.c
│   │   ├── pthread_mutexattr_destroy.c
│   │   ├── pthread_mutexattr_getkind_np.c
│   │   ├── pthread_mutexattr_getpshared.c
│   │   ├── pthread_mutexattr_getrobust.c
│   │   ├── pthread_mutexattr_gettype.c
│   │   ├── pthread_mutexattr_init.c
│   │   ├── pthread_mutexattr_setkind_np.c
│   │   ├── pthread_mutexattr_setpshared.c
│   │   ├── pthread_mutexattr_setrobust.c
│   │   ├── pthread_mutexattr_settype.c
│   │   ├── pthread_num_processors_np.c
│   │   ├── pthread_once.c
│   │   ├── pthread_rwlock_destroy.c
│   │   ├── pthread_rwlock_init.c
│   │   ├── pthread_rwlock_rdlock.c
│   │   ├── pthread_rwlock_timedrdlock.c
│   │   ├── pthread_rwlock_timedwrlock.c
│   │   ├── pthread_rwlock_tryrdlock.c
│   │   ├── pthread_rwlock_trywrlock.c
│   │   ├── pthread_rwlock_unlock.c
│   │   ├── pthread_rwlock_wrlock.c
│   │   ├── pthread_rwlockattr_destroy.c
│   │   ├── pthread_rwlockattr_getpshared.c
│   │   ├── pthread_rwlockattr_init.c
│   │   ├── pthread_rwlockattr_setpshared.c
│   │   ├── pthread_self.c
│   │   ├── pthread_setcancelstate.c
│   │   ├── pthread_setcanceltype.c
│   │   ├── pthread_setconcurrency.c
│   │   ├── pthread_setschedparam.c
│   │   ├── pthread_setspecific.c
│   │   ├── pthread_spin_destroy.c
│   │   ├── pthread_spin_init.c
│   │   ├── pthread_spin_lock.c
│   │   ├── pthread_spin_trylock.c
│   │   ├── pthread_spin_unlock.c
│   │   ├── pthread_testcancel.c
│   │   ├── pthread_timechange_handler_np.c
│   │   ├── pthread_win32_attach_detach_np.c
│   │   ├── ptw32_MCS_lock.c
│   │   ├── ptw32_OLL_lock.c
│   │   ├── ptw32_callUserDestroyRoutines.c
│   │   ├── ptw32_calloc.c
│   │   ├── ptw32_cond_check_need_init.c
│   │   ├── ptw32_getprocessors.c
│   │   ├── ptw32_is_attr.c
│   │   ├── ptw32_mutex_check_need_init.c
│   │   ├── ptw32_new.c
│   │   ├── ptw32_processInitialize.c
│   │   ├── ptw32_processTerminate.c
│   │   ├── ptw32_relmillisecs.c
│   │   ├── ptw32_reuse.c
│   │   ├── ptw32_rwlock_cancelwrwait.c
│   │   ├── ptw32_rwlock_check_need_init.c
│   │   ├── ptw32_semwait.c
│   │   ├── ptw32_spinlock_check_need_init.c
│   │   ├── ptw32_threadDestroy.c
│   │   ├── ptw32_threadStart.c
│   │   ├── ptw32_throw.c
│   │   ├── ptw32_timespec.c
│   │   ├── ptw32_tkAssocCreate.c
│   │   ├── ptw32_tkAssocDestroy.c
│   │   ├── rwlock.c
│   │   ├── sched.c
│   │   ├── sched.h
│   │   ├── sched_get_priority_max.c
│   │   ├── sched_get_priority_min.c
│   │   ├── sched_getscheduler.c
│   │   ├── sched_setscheduler.c
│   │   ├── sched_yield.c
│   │   ├── sem_close.c
│   │   ├── sem_destroy.c
│   │   ├── sem_getvalue.c
│   │   ├── sem_init.c
│   │   ├── sem_open.c
│   │   ├── sem_post.c
│   │   ├── sem_post_multiple.c
│   │   ├── sem_timedwait.c
│   │   ├── sem_trywait.c
│   │   ├── sem_unlink.c
│   │   ├── sem_wait.c
│   │   ├── semaphore.c
│   │   ├── semaphore.h
│   │   ├── signal.c
│   │   ├── spin.c
│   │   ├── sync.c
│   │   ├── tests
│   │   │   ├── Bmakefile
│   │   │   ├── ChangeLog
│   │   │   ├── Debug.dsp
│   │   │   ├── Debug.dsw
│   │   │   ├── Debug.plg
│   │   │   ├── Debug.txt
│   │   │   ├── GNUmakefile
│   │   │   ├── Makefile
│   │   │   ├── README
│   │   │   ├── README.BENCHTESTS
│   │   │   ├── SIZES.GC
│   │   │   ├── SIZES.GCE
│   │   │   ├── SIZES.VC
│   │   │   ├── SIZES.VCE
│   │   │   ├── SIZES.VSE
│   │   │   ├── Wmakefile
│   │   │   ├── barrier1.c
│   │   │   ├── barrier2.c
│   │   │   ├── barrier3.c
│   │   │   ├── barrier4.c
│   │   │   ├── barrier5.c
│   │   │   ├── barrier6.c
│   │   │   ├── benchlib.c
│   │   │   ├── benchtest.h
│   │   │   ├── benchtest1.c
│   │   │   ├── benchtest2.c
│   │   │   ├── benchtest3.c
│   │   │   ├── benchtest4.c
│   │   │   ├── benchtest5.c
│   │   │   ├── cancel1.c
│   │   │   ├── cancel2.c
│   │   │   ├── cancel3.c
│   │   │   ├── cancel4.c
│   │   │   ├── cancel5.c
│   │   │   ├── cancel6a.c
│   │   │   ├── cancel6d.c
│   │   │   ├── cancel7.c
│   │   │   ├── cancel8.c
│   │   │   ├── cancel9.c
│   │   │   ├── cleanup0.c
│   │   │   ├── cleanup1.c
│   │   │   ├── cleanup2.c
│   │   │   ├── cleanup3.c
│   │   │   ├── condvar1.c
│   │   │   ├── condvar1_1.c
│   │   │   ├── condvar1_2.c
│   │   │   ├── condvar2.c
│   │   │   ├── condvar2_1.c
│   │   │   ├── condvar3.c
│   │   │   ├── condvar3_1.c
│   │   │   ├── condvar3_2.c
│   │   │   ├── condvar3_3.c
│   │   │   ├── condvar4.c
│   │   │   ├── condvar5.c
│   │   │   ├── condvar6.c
│   │   │   ├── condvar7.c
│   │   │   ├── condvar8.c
│   │   │   ├── condvar9.c
│   │   │   ├── context1.c
│   │   │   ├── count1.c
│   │   │   ├── create1.c
│   │   │   ├── create2.c
│   │   │   ├── create3.c
│   │   │   ├── delay1.c
│   │   │   ├── delay2.c
│   │   │   ├── detach1.c
│   │   │   ├── equal1.c
│   │   │   ├── errno1.c
│   │   │   ├── exception1.c
│   │   │   ├── exception2.c
│   │   │   ├── exception3.c
│   │   │   ├── exit1.c
│   │   │   ├── exit2.c
│   │   │   ├── exit3.c
│   │   │   ├── exit4.c
│   │   │   ├── exit5.c
│   │   │   ├── eyal1.c
│   │   │   ├── inherit1.c
│   │   │   ├── join0.c
│   │   │   ├── join1.c
│   │   │   ├── join2.c
│   │   │   ├── join3.c
│   │   │   ├── kill1.c
│   │   │   ├── loadfree.c
│   │   │   ├── mutex1.c
│   │   │   ├── mutex1e.c
│   │   │   ├── mutex1n.c
│   │   │   ├── mutex1r.c
│   │   │   ├── mutex2.c
│   │   │   ├── mutex2e.c
│   │   │   ├── mutex2r.c
│   │   │   ├── mutex3.c
│   │   │   ├── mutex3e.c
│   │   │   ├── mutex3r.c
│   │   │   ├── mutex4.c
│   │   │   ├── mutex5.c
│   │   │   ├── mutex6.c
│   │   │   ├── mutex6e.c
│   │   │   ├── mutex6es.c
│   │   │   ├── mutex6n.c
│   │   │   ├── mutex6r.c
│   │   │   ├── mutex6rs.c
│   │   │   ├── mutex6s.c
│   │   │   ├── mutex7.c
│   │   │   ├── mutex7e.c
│   │   │   ├── mutex7n.c
│   │   │   ├── mutex7r.c
│   │   │   ├── mutex8.c
│   │   │   ├── mutex8e.c
│   │   │   ├── mutex8n.c
│   │   │   ├── mutex8r.c
│   │   │   ├── once1.c
│   │   │   ├── once2.c
│   │   │   ├── once3.c
│   │   │   ├── once4.c
│   │   │   ├── openmp1.c
│   │   │   ├── priority1.c
│   │   │   ├── priority2.c
│   │   │   ├── reuse1.c
│   │   │   ├── reuse2.c
│   │   │   ├── robust1.c
│   │   │   ├── robust2.c
│   │   │   ├── robust3.c
│   │   │   ├── robust4.c
│   │   │   ├── robust5.c
│   │   │   ├── rwlock1.c
│   │   │   ├── rwlock2.c
│   │   │   ├── rwlock2_t.c
│   │   │   ├── rwlock3.c
│   │   │   ├── rwlock3_t.c
│   │   │   ├── rwlock4.c
│   │   │   ├── rwlock4_t.c
│   │   │   ├── rwlock5.c
│   │   │   ├── rwlock5_t.c
│   │   │   ├── rwlock6.c
│   │   │   ├── rwlock6_t.c
│   │   │   ├── rwlock6_t2.c
│   │   │   ├── rwlock7.c
│   │   │   ├── rwlock8.c
│   │   │   ├── self1.c
│   │   │   ├── self2.c
│   │   │   ├── semaphore1.c
│   │   │   ├── semaphore2.c
│   │   │   ├── semaphore3.c
│   │   │   ├── semaphore4.c
│   │   │   ├── semaphore4t.c
│   │   │   ├── semaphore5.c
│   │   │   ├── sequence1.c
│   │   │   ├── sizes.c
│   │   │   ├── spin1.c
│   │   │   ├── spin2.c
│   │   │   ├── spin3.c
│   │   │   ├── spin4.c
│   │   │   ├── stress1.c
│   │   │   ├── test.h
│   │   │   ├── tryentercs.c
│   │   │   ├── tryentercs2.c
│   │   │   ├── tsd1.c
│   │   │   ├── tsd2.c
│   │   │   ├── valid1.c
│   │   │   └── valid2.c
│   │   ├── tsd.c
│   │   ├── version.rc
│   │   └── w32_CancelableWait.c
│   └── 多线程与智能指针.md
└── 线程与智能指针.zip

21 directories, 469 files