showSessions: showSessions

Description Usage Details Value See Also

Description

The showSessions function is used to show all existing task queues.

Usage

1

Details

Usually, you know you need to call showSessions when you get a warning message from startWorkers saying that there are other worker groups. This could be due to multiple concurrent doSMP sessions (which could lead to lower performance), or it could be because stopWorkers wasn't called at the end of a session.

You can also call showSessions before calling startWorkers to see if there are any existing task queues. You can call rmSessions with a call to showSessions as its only argument. This will remove any existing sessions or, if there are no existing sessions, give a warning that rmSessions did nothing.

Value

a character vector of task queue names, or NULL.

See Also

startWorkers, stopWorkers, rmSessions


doSMP documentation built on May 2, 2019, 5:35 p.m.