CN17460C/N1760 - OS/2 2.x for 1.x Developers
5 days, hands-on labs Public, private
This advanced course will help experienced OS/2 developers make a smooth transition to the 32-bit environment. You'll learn how to design, build, and test applications in this new environment through lectures, lab exercises and demonstrations. This is not a general overview of OS/2 Version 2.X. It is not intended for those without prior OS/2 experience. Those without OS/2 experience should attend OS/2 2.X for Software Developers (N1740).
How you will benefit: Learn how to design, build, and test applications using the 32-bit version of OS/2.
Topics:
oIntroduction and Memory Models
-Introduction to the workshop -Introduction to OS/2 2.X -Review of OS/2 concepts -Memory management in OS/2 2.X -API calls for memory management -Laboratory exercise
o16-bit application oConversion of 16-bit to 32-bit application oAllocation of private memory objects oAllocation of shared memory objects oAccessing shared memory objects oSuballocation
oThreads and Semaphores
-Lab review -Thread management -Semaphores -Laboratory exercise
o32-bit semaphores, threads, and timers oThread priority oThread synchronization oMuxWait semaphore setup oEdge/level operation of event semaphore
oIBM C Set/2 Compiler
-IBM C Set/2 compiler -Laboratory exercise
omalloc, _alloca, and DosSubAlloc oConversion of MuxWait semaphore setup to multithread library oBuffering of printf
oQueues, Signals, and Exceptions
-Queues -Laboratory exercise
oData transport through queues
-Signals and exceptions -Laboratory exercise
oSignal handling oSignals for error recovery oBuilding a dynamically linked DLL oBuilding a statically linked DLL oBuilding a subsystem
oDynamic Link Libraries
-Performance considerations -DLL's and automatic data segments -Exception handlers
Prerequisites: This course requires C programming language and OS/2 programming experience. The OS/2 programming experience can be obtained in OS/2 2.X for Software Developers (N1740). You should also understand threads, critical sections, suspend/resume, parent/child process relationships, named and unnamed shared memory, creation of DLL modules, and synchronization using semaphores in the OS/2 1.3 environment.
Prices: Tuition 1,575 Private Class Price: 1-14 Students: 20,000 Each additional student: 500