upgrading from SC_DIAGNOSTIC open to SC_NO_RESERVE open.

Date: 01/20/05

Date: 20 Jan 2005 05:18:53 -0800

I had opened a device with SC_DIAGNOSTIC | SC_NORESERVE flags.
Later i want to reopen the device with only SC_NORESERVE flag on, so
that i can issue some commands which are not allowed if the open is
done with SC_DIAGNOSTIC flag.
If the device is already opened with SC_DIANGOSTIC flag then it
does not allow any other open. So, to do this i have to close the
earlier open which is with SC_DIANGOSTIC flag and again i have to
reissue the open call without SC_DIAGNOSTIC flag.
During this brief window (closing the earlier open and issuing
the open again), OS can take away the device because of graceful
DynamicReconfiguration or do anything it can as nobody is using that
device(no 'open' is there). I want to avoid this window.
Briefly i want a method using which i can upgrade from
SC_DIAGNOSTIC mode open to SC_NORESERVE open without closing the
device. Could you please help me out in doing the same?
Thanks in advance for your help.

Venakta Sreenivasa Rao Nagineni

Relevant Pages

  • Re: Toggling window size
    ... use wimp_get_window_state and then check bit 19 of the window flags to ... Wimp_OpenWindow with the coordinates the Wimp passes you. ... That's what I was doing originally, however upon clicking the toggle size ... flag - it should not be set for main document windows. ...
  • Re: Questions regarding Suns gnome 2.6 implementation
    ... flag being set. ... there (even more so back when GNOME 2.6 was released), ... I'm using xterm windows. ... the xterm window expands to fill the desktop area (less panel ...
  • Re: Toggling window size
    ... the open window request was generated due to a click on the toggle size ... Set the Moveable flag, but do not set the "Keep on screen" or "No ... By 'No bounds flag', do you mean the 'Extendable flag' in terms of the ...
  • Re: Roadside finds
    ... a backup of the website of a local dance studio. ... top of a window, then roll the window up to hold it in place. ... Kids roll ... the window down & the flag goes flying, ...
  • Re: Roadside finds
    ... run over by numerous cars but still working. ... top of a window, then roll the window up to hold it in place. ... the window down & the flag goes flying, ... Wal-Mart gift card with $6 on it ...