Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multihread ansi C in visual Studio 6 on windows 7 1

Status
Not open for further replies.

gismo

Technical User
Jul 24, 2002
35
0
0
US
Is it possible to multi thread an ansi C console application on a 32 bit windows 7 platform using _beginthread. Also is the entire application subject to the 2 gig memory/application of windows or can each thread allocate 2 gigs memory. I already have the 32 bit app but don't want to rewrite for 64 bit.
 
It is the whole application that is subject to the limit. The alternative is to use several 2Gb processes and make the app multiprocess instead of multithreaded. You'll need to swap mutexes for semaphores and global memory/critical regions for shared memory.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top