commit 70ab09c272e259d613b5ce7d24e23f4f3686b84a Author: lls Date: Wed Nov 20 01:39:56 2024 +0800 线程小实验 diff --git a/xiancheng/.vs/xiancheng/v16/.suo b/xiancheng/.vs/xiancheng/v16/.suo new file mode 100644 index 0000000..e098ed4 Binary files /dev/null and b/xiancheng/.vs/xiancheng/v16/.suo differ diff --git a/xiancheng/.vs/xiancheng/v16/Browse.VC.db b/xiancheng/.vs/xiancheng/v16/Browse.VC.db new file mode 100644 index 0000000..a93e5f1 Binary files /dev/null and b/xiancheng/.vs/xiancheng/v16/Browse.VC.db differ diff --git a/xiancheng/.vs/xiancheng/v16/ipch/AutoPCH/e11cfb544a7de930/MAIN.ipch b/xiancheng/.vs/xiancheng/v16/ipch/AutoPCH/e11cfb544a7de930/MAIN.ipch new file mode 100644 index 0000000..434525c Binary files /dev/null and b/xiancheng/.vs/xiancheng/v16/ipch/AutoPCH/e11cfb544a7de930/MAIN.ipch differ diff --git a/xiancheng/Debug/main.obj b/xiancheng/Debug/main.obj new file mode 100644 index 0000000..e9cb5c4 Binary files /dev/null and b/xiancheng/Debug/main.obj differ diff --git a/xiancheng/Debug/vc142.idb b/xiancheng/Debug/vc142.idb new file mode 100644 index 0000000..a0d009f Binary files /dev/null and b/xiancheng/Debug/vc142.idb differ diff --git a/xiancheng/Debug/vc142.pdb b/xiancheng/Debug/vc142.pdb new file mode 100644 index 0000000..93d38fe Binary files /dev/null and b/xiancheng/Debug/vc142.pdb differ diff --git a/xiancheng/Debug/xiancheng.exe b/xiancheng/Debug/xiancheng.exe new file mode 100644 index 0000000..f241b45 Binary files /dev/null and b/xiancheng/Debug/xiancheng.exe differ diff --git a/xiancheng/Debug/xiancheng.exe.recipe b/xiancheng/Debug/xiancheng.exe.recipe new file mode 100644 index 0000000..c1f64ed --- /dev/null +++ b/xiancheng/Debug/xiancheng.exe.recipe @@ -0,0 +1,11 @@ + + + + + C:\Users\leave1031\Desktop\1\xiancheng\Debug\xiancheng.exe + + + + + + \ No newline at end of file diff --git a/xiancheng/Debug/xiancheng.ilk b/xiancheng/Debug/xiancheng.ilk new file mode 100644 index 0000000..b22a7b1 Binary files /dev/null and b/xiancheng/Debug/xiancheng.ilk differ diff --git a/xiancheng/Debug/xiancheng.log b/xiancheng/Debug/xiancheng.log new file mode 100644 index 0000000..3159f6f --- /dev/null +++ b/xiancheng/Debug/xiancheng.log @@ -0,0 +1,2 @@ + main.cpp + xiancheng.vcxproj -> C:\Users\leave1031\Desktop\1\xiancheng\Debug\xiancheng.exe diff --git a/xiancheng/Debug/xiancheng.pdb b/xiancheng/Debug/xiancheng.pdb new file mode 100644 index 0000000..5315c1b Binary files /dev/null and b/xiancheng/Debug/xiancheng.pdb differ diff --git a/xiancheng/Debug/xiancheng.tlog/CL.command.1.tlog b/xiancheng/Debug/xiancheng.tlog/CL.command.1.tlog new file mode 100644 index 0000000..6e17e5e Binary files /dev/null and b/xiancheng/Debug/xiancheng.tlog/CL.command.1.tlog differ diff --git a/xiancheng/Debug/xiancheng.tlog/CL.read.1.tlog b/xiancheng/Debug/xiancheng.tlog/CL.read.1.tlog new file mode 100644 index 0000000..0ba528c Binary files /dev/null and b/xiancheng/Debug/xiancheng.tlog/CL.read.1.tlog differ diff --git a/xiancheng/Debug/xiancheng.tlog/CL.write.1.tlog b/xiancheng/Debug/xiancheng.tlog/CL.write.1.tlog new file mode 100644 index 0000000..b76f16d Binary files /dev/null and b/xiancheng/Debug/xiancheng.tlog/CL.write.1.tlog differ diff --git a/xiancheng/Debug/xiancheng.tlog/link.command.1.tlog b/xiancheng/Debug/xiancheng.tlog/link.command.1.tlog new file mode 100644 index 0000000..10dd646 Binary files /dev/null and b/xiancheng/Debug/xiancheng.tlog/link.command.1.tlog differ diff --git a/xiancheng/Debug/xiancheng.tlog/link.read.1.tlog b/xiancheng/Debug/xiancheng.tlog/link.read.1.tlog new file mode 100644 index 0000000..1ebb548 Binary files /dev/null and b/xiancheng/Debug/xiancheng.tlog/link.read.1.tlog differ diff --git a/xiancheng/Debug/xiancheng.tlog/link.write.1.tlog b/xiancheng/Debug/xiancheng.tlog/link.write.1.tlog new file mode 100644 index 0000000..7e8dd83 Binary files /dev/null and b/xiancheng/Debug/xiancheng.tlog/link.write.1.tlog differ diff --git a/xiancheng/Debug/xiancheng.tlog/xiancheng.lastbuildstate b/xiancheng/Debug/xiancheng.tlog/xiancheng.lastbuildstate new file mode 100644 index 0000000..16a6cd0 --- /dev/null +++ b/xiancheng/Debug/xiancheng.tlog/xiancheng.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30133:VCServicingVersionMFC=14.29.30136:TargetPlatformVersion=10.0.19041.0: +Debug|Win32|C:\Users\leave1031\Desktop\1\xiancheng\| diff --git a/xiancheng/Debug/xiancheng.vcxproj.FileListAbsolute.txt b/xiancheng/Debug/xiancheng.vcxproj.FileListAbsolute.txt new file mode 100644 index 0000000..3f2d3ae --- /dev/null +++ b/xiancheng/Debug/xiancheng.vcxproj.FileListAbsolute.txt @@ -0,0 +1 @@ +C:\Users\leave1031\Desktop\1\xiancheng\Debug\xiancheng.exe diff --git a/xiancheng/main.cpp b/xiancheng/main.cpp new file mode 100644 index 0000000..364da97 --- /dev/null +++ b/xiancheng/main.cpp @@ -0,0 +1,81 @@ +#include +#include +using namespace std; + + +HANDLE hThread; +HANDLE hThread1; +struct SUMMING +{ + unsigned char sum1; + unsigned int num1; + int num2; +}sumning; + +struct json_text +{ + char name; + double number; + SUMMING truct; + +}on_text; + + +void* receive_test(json_text* temp) +{ + + while (1) + { + CoInitialize(NULL); + cout << temp->name<number< + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {c24ce115-19e2-42e1-92c3-8b80775bdc0d} + xiancheng + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/xiancheng/xiancheng.vcxproj.filters b/xiancheng/xiancheng.vcxproj.filters new file mode 100644 index 0000000..65fa6d5 --- /dev/null +++ b/xiancheng/xiancheng.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + 源文件 + + + \ No newline at end of file diff --git a/xiancheng/xiancheng.vcxproj.user b/xiancheng/xiancheng.vcxproj.user new file mode 100644 index 0000000..88a5509 --- /dev/null +++ b/xiancheng/xiancheng.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file