Skip to content

Cannot reference C++ objects instantiated in forked processes #2

@heavywatal

Description

@heavywatal
trees = parallel::mclapply(c(7L, 15L), igraphlite::graph_tree, mc.cores = 2L)
trees[[1L]]
# Error in sprintf("C++ object <%s> of class '%s' <%s>", externalptr_address(pointer), :
#   external pointer is not valid

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions