2
0

Pause.sgm 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!-- $XConsortium: Pause.sgm /main/6 1996/09/08 20:14:48 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN298.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN298.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>Pause</RefEntryTitle>
  13. <ManVolNum>special file</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Symbol Role="Message">Pause</Symbol></RefName>
  17. <RefPurpose>pause a tool, operation or data performance
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: Pause.sgm /main/6 1996/09/08 20:14:48 rws $-->
  21. <!-- CDE Common Source Format, Version 1.0.0-->
  22. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <RefSynopsisDiv>
  27. <Synopsis>Pause([in messageID <Symbol Role="Variable">operation</Symbol>]);
  28. </Synopsis>
  29. </RefSynopsisDiv>
  30. <RefSect1>
  31. <Title>DESCRIPTION</Title>
  32. <Para>The
  33. <Symbol Role="Message">Pause</Symbol> request
  34. pauses the specified tool, operation or data performance.
  35. </Para>
  36. <Para>If the optional
  37. <Symbol Role="Variable">operation</Symbol> argument is included, the handler should pause the operation
  38. that was invoked by the specified request.
  39. </Para>
  40. <Para>The
  41. <Symbol Role="Variable">operation</Symbol> argument
  42. is the request that should be paused.
  43. For a request to be eligible for pausing, the handler must have sent a
  44. <Symbol Role="Message">Status</Symbol> notice back to the requester (thus
  45. identifying itself to the requester).
  46. </Para>
  47. </RefSect1>
  48. <RefSect1>
  49. <Title>ERRORS</Title>
  50. <Para>The ToolTalk service may return the following error
  51. in processing the
  52. <Symbol Role="Message">Pause</Symbol> request:
  53. </Para>
  54. <VariableList>
  55. <VarListEntry>
  56. <Term>TT_DESKTOP_ENOMSG</Term>
  57. <ListItem>
  58. <Para>The
  59. <Symbol Role="Variable">operation</Symbol> argument does not refer to any message currently known by the handler.
  60. </Para>
  61. </ListItem>
  62. </VarListEntry>
  63. </VariableList>
  64. </RefSect1>
  65. <RefSect1>
  66. <Title>APPLICATION USAGE</Title>
  67. <Para>The
  68. &cdeman.ttdt.session.join;, and
  69. &cdeman.ttdt.message.accept;, functions can be used to register for,
  70. and help process, the
  71. <Symbol Role="Message">Pause</Symbol> request.
  72. </Para>
  73. </RefSect1>
  74. <RefSect1>
  75. <Title>EXAMPLES</Title>
  76. <Para>The
  77. <Symbol Role="Message">Pause</Symbol> message can be sent as in the following example:
  78. </Para>
  79. <InformalExample Remap="indent">
  80. <ProgramListing>Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION,
  81. the_recipient_procid, TTDT_PAUSE,
  82. my_callback);
  83. tt_message_send(msg);
  84. </ProgramListing>
  85. </InformalExample>
  86. </RefSect1>
  87. <![ %CDE.C.CDE; [
  88. <RefSect1>
  89. <Title>WARNINGS</Title>
  90. <Para><Symbol Role="Message">Pause</Symbol> can also be sent as a multicast notice, as an
  91. <Emphasis>edict</Emphasis> to all tools in the scope of the message.
  92. The consequences of doing so can be severe and unexpected.
  93. </Para>
  94. </RefSect1>
  95. ]]>
  96. <RefSect1>
  97. <Title>SEE ALSO</Title>
  98. <Para>&cdeman.tt.message.send;, &cdeman.ttdt.message.accept;, &cdeman.ttdt.session.join;; <Symbol Role="Message">Resume</Symbol> request.
  99. </Para>
  100. </RefSect1>
  101. </RefEntry>
  102. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->