Skip to content

Commit 82e9225

Browse files
author
ripley
committed
repeat the warning on R API in threads in the R API chapter
git-svn-id: https://svn.r-project.org/R/trunk@88194 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent f185cda commit 82e9225

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/manual/R-exts.texi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14881,6 +14881,10 @@ can be called from C code (and a few that can be called from Fortran
1488114881
code). Only those documented here are stable enough that they will only
1488214882
be changed with considerable notice.
1488314883

14884+
As explained elsewhere in this manual, these functions should only be
14885+
called from the main thread of the @R{} process. (Doing otherwise can
14886+
result in memory corruption and very hard-to-debug seqfaults.)
14887+
1488414888
The recommended procedure to use these is to include the header file
1488514889
@file{R.h} in your C code by
1488614890

0 commit comments

Comments
 (0)