/[eiffelstudio]/FreeELKS/trunk/library/support/execution_environment.e
ViewVC logotype

Diff of /FreeELKS/trunk/library/support/execution_environment.e

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 91598 by manus_eiffel, Sat May 24 00:24:07 2008 UTC revision 91599 by manus_eiffel, Mon Jun 16 17:03:22 2008 UTC
# Line 178  feature -- Status setting Line 178  feature -- Status setting
178                          asynchronous_system_call ($ext)                          asynchronous_system_call ($ext)
179                  end                  end
180    
181            sleep (nanoseconds: INTEGER_64) is
182                            -- Suspend thread execution for interval specified in
183                            -- `nanoseconds' (1 nanosecond = 10^(-9) second).
184                    require
185                            non_negative_nanoseconds: nanoseconds >= 0
186                    do
187                            eif_sleep (nanoseconds)
188                    end
189    
190  feature {NONE} -- Implementation  feature {NONE} -- Implementation
191    
192          environ: HASH_TABLE [C_STRING, STRING] is          environ: HASH_TABLE [C_STRING, STRING] is
# Line 295  feature {NONE} -- External Line 304  feature {NONE} -- External
304                          "C use %"eif_path_name.h%""                          "C use %"eif_path_name.h%""
305                  end                  end
306    
307            eif_sleep (nanoseconds: INTEGER_64) is
308                            -- Suspend thread execution for interval specified in
309                            -- `nanoseconds' (1 nanosecond = 10^(-9) second).
310                    require
311                            non_negative_nanoseconds: nanoseconds >= 0
312                    external
313                            "C blocking use %"eif_misc.h%""
314                    end
315    
316  end  end

Legend:
Removed from v.91598  
changed lines
  Added in v.91599

  ViewVC Help
Powered by ViewVC 1.1.23