Skip to content

Use R_isForkedChild to informatively error in multicore scenarios #978

@DavisVaughan

Description

@DavisVaughan

Ark does not support multicore parallel processing, but we don't have a good way to tell the user this

I recently stumbled across

https://github.com/wch/r-source/blob/69a41188dbe32760d147bb9da6e263e5dbd21071/src/include/Defn.h#L1655

which I think we have access to.

We could check that at every top level repl iteration, and try and log or informatively error if it is ever TRUE, because ark is very much not supported in multicore mode right now (and probably never will be).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions