摘要:
Linux网络编程学习路线 - CTHON - 博客园 (cnblogs.com) 阅读全文
摘要:
1 class PriorQueque: 2 def __init__(self, list1=[]): 3 self.__list = [] 4 self.__MakeMaxHeap(list1) 5 6 def __HeapUp(self): 7 curIndex = len(self.__li 阅读全文
摘要:
应用程序与驱动程序通信 DeviceIoControl 阅读全文
摘要:
void CMFCAppMoveWindowApp::InitProfile() { // CMyApp is derived from CWinApp. LPCWSTR pszKey = L"StudentInfo"; LPCWSTR pszName = L"Julian"; int iAge = 阅读全文
摘要:
https://www.cnblogs.com/fwycmengsoft/p/4026592.html 阅读全文
摘要:
1.需求, 现在10个线程分别打印AAA... BBB... CCC...要求按顺序打印, 如图所示 Plan1: 1 #define THREAD_CNT 5 2 3 std::condition_variable g_cvs[THREAD_CNT]; 4 std::condition_varia 阅读全文
摘要:
#define N_OBJECTS 26 HANDLE hEvents[N_OBJECTS]; HANDLE hThreads[N_OBJECTS]; DWORD WINAPI PrintChar(LPVOID lpParam) { int i = (int)lpParam; printf("cur 阅读全文
摘要:
1 #include <ctime> 2 #include <iostream> 3 #include <vector> 4 #include <thread> 5 #include <atomic> 6 #include <mutex> 7 8 #include <Windows.h> 9 10 阅读全文
摘要:
https://www.jianshu.com/p/83309f509fb2 https://blog.csdn.net/guaiguaihenguai/article/details/81160310 阅读全文