Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8369139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:34:20+00:00 2026-06-09T13:34:20+00:00

This may sound like noobish question but I have tried researching these two classes

  • 0

This may sound like noobish question but I have tried researching these two classes and I am not 100% sure what their differences and specific purposes are. Also, is there some way I can retrieve a list of all the currently running processes much like Task Manager on windows? I was thinking some static function would be able to return an array of NSThreads or NSTasks… or I may just be going about this completely wrong xD

Thanks in advance for any help!
Thom

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:34:21+00:00Added an answer on June 9, 2026 at 1:34 pm

    NSThread is provided to create and manage background threads. You don’t hear much about it today because libraries like Grand Central Dispatch GCD and NSOperationQueue have been added by Apple recently for those purposes and offer ease of use.

    NSTask is kind of like a wrapper for the C system command. It is only available on Mac OSX environments (not IOS) and is used to launch operating system commands – commands typically used from the command line. For example, awhile back, I took some handy bash utilities that I had developed for managing Xerox printers and put a Cocoa front end on them by using Cocoa for the graphical interface and using NSTask to launch the command lines. NSTask can be mapped to the input and output of those unix commands, so you can send them stuff on stdin and get stuff back on sdout

    hope that helps to clear it up

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may sound like a very generic question but here it goes. I have
This may sound like a stupid question but I'm a beginner not just to
This may sound like a noob question, because it is. I have tried for
This may sound like a noobish question (in fact, it is), but I can't
This may not sound like a coherient question, but I need to find some
This may sound like a stupid question but I can't seem to find an
This may sound like a stupid question, perhaps it is. But I'm only trying
This may sound like a bit of a rhetorical question, but I ask it
This may sound like an unusual question, but I am curious as to how
This may sound like a silly question but in D (using std.regex ) how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.