[Chapel Merge] Deprecate most locale task and thread counters.

Branch: refs/heads/main
Revision: d2429f4
Author: gbtitus
Log Message:

Merge pull request #18357 from gbtitus/dep-task-thread-counters

Deprecate most locale task and thread counters.

(Reviewed by @ronawho and @bradcray.)

We believe that locale.blockedTasks(), .queuedTasks(), .idleThreads(),
and .totalThreads() are unused. Here, deprecate them. We can back off
from this if we get feedback that any of them are needed.

Modified Files:
A test/deprecated/locale.blockedTasks.chpl

A test/deprecated/locale.blockedTasks.good
A test/deprecated/locale.idleThreads.chpl
A test/deprecated/locale.idleThreads.good
A test/deprecated/locale.queuedTasks.chpl
A test/deprecated/locale.queuedTasks.good
A test/deprecated/locale.totalThreads.chpl
A test/deprecated/locale.totalThreads.good
R test/parallel/taskPool/figueroa/QueuedTasks.chpl
R test/parallel/taskPool/figueroa/QueuedTasks.execenv
R test/parallel/taskPool/figueroa/QueuedTasks.good
R test/parallel/taskPool/figueroa/QueuedTasks.notest
R test/parallel/taskPool/figueroa/QueuedTasks.skipif
M doc/rst/usingchapel/tasks.rst
M modules/internal/ChapelLocale.chpl

Compare: https://github.com/chapel-lang/chapel/compare/3f1085581a5d...d2429f4bd75b