Professional Documents
Culture Documents
Fall 2022 - CS609 - 2 - BC180404161
Fall 2022 - CS609 - 2 - BC180404161
Assignment No 2
Student Name:
Arslan Ahmad
Student ID:
Bc180404161
Code:
#include <windows.h>
#include <iostream>
void VUFunc()
int main() {
DWORD threadId;
return 1;
std::cout<< " Thread successfully created with ID: " <<threadId<< std::endl;
WaitForSingleObject(hThread, INFINITE);
CloseHandle(hThread);
return 0;