diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-3DE276E8-D2C7-5297-AF3B-40B0B8733572.dita --- a/Symbian3/SDK/Source/GUID-3DE276E8-D2C7-5297-AF3B-40B0B8733572.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-3DE276E8-D2C7-5297-AF3B-40B0B8733572.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,41 +1,41 @@ - - - - - -Inter-thread -Data TransferThe mechanism for copying data between threads is called inter-thread -data transfer and is handled by the four functions provided by the RThread handle. -

Data can be passed between threads. The threads can be in the same process -or in different processes. The functions provides by the RThread class -are:

- -

The functions are used in the implementation of the RMessage class -which, in turn, is used for passing information between clients and servers.

-

The ReadL() and WriteL() functions, which -transfer data, assume that both source and target data are descriptors.

-

Typically, code executing in the current thread will have a handle to another -thread. The code in the current thread copies data from the other thread, -represented by an RThread handle, by calling its ReadL() function. -Copying data to the other thread is similar, but is done using -the WriteL() function. The following diagram illustrates -this:

- - - -

The source or target location in the other thread is identified -by pointer. The pointer only has meaning within the context of that thread; -attempting to reference the pointer directly from within the current thread -is meaningless and may cause an exception.

+ + + + + +Inter-thread +Data TransferThe mechanism for copying data between threads is called inter-thread +data transfer and is handled by the four functions provided by the RThread handle. +

Data can be passed between threads. The threads can be in the same process +or in different processes. The functions provides by the RThread class +are:

+
    +
  • ReadL()

  • +
  • WriteL()

  • +
  • GetDesLength()

  • +
  • GetDesMaxLength()

  • +
+

The functions are used in the implementation of the RMessage class +which, in turn, is used for passing information between clients and servers.

+

The ReadL() and WriteL() functions, which +transfer data, assume that both source and target data are descriptors.

+

Typically, code executing in the current thread will have a handle to another +thread. The code in the current thread copies data from the other thread, +represented by an RThread handle, by calling its ReadL() function. +Copying data to the other thread is similar, but is done using +the WriteL() function. The following diagram illustrates +this:

+ + + +

The source or target location in the other thread is identified +by pointer. The pointer only has meaning within the context of that thread; +attempting to reference the pointer directly from within the current thread +is meaningless and may cause an exception.

\ No newline at end of file