Message-ID: <390DBE89.2BA84777@nortelnetworks.com> Date: Mon, 01 May 2000 13:27:37 -0400 X-Sybari-Space: 00000000 00000000 00000000 From: "Ian Chapman" Organization: Nortel X-Mailer: Mozilla 4.72 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: 3rd Try: Maybe an asm problem? (Problems linking) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hi all, this thread is a bit above the level that I think about. If I have: cin >> buf; // do I need to worry about __dpmi_yield? I guess it should be used by people writing cin type functions not users. Regards Ian. Eli Zaretskii wrote: > > On Mon, 1 May 2000, Alexei A. Frounze wrote: > > > Okay, why not to freeze up DOS programs, due to task switch (it's possible to > > know when a task switch occurs)? > > When the task switch occurs, you don't need to do anything, because the > CPU is taken away from the DOS program. > > __dpmi_yield is used when the calling program *does* have the CPU, but > doesn't have anything to do with that CPU time.