Welcome, Guest. Please login or register.

Author Topic: Stupid Amiga Workbench Questions  (Read 5153 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Stupid Amiga Workbench Questions
« on: June 21, 2009, 12:17:33 PM »
Quote from: ChaosLord;512664
Many tasks can be safely killed.  It is up to the coder of the task to implement friendly murder. :)


Strictly speaking, any task that can respond to CTRL-C isn't generally a problem. It's the ones that are stuck in a loop or deadlocked waiting for some resource that are the problem.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: Stupid Amiga Workbench Questions
« Reply #1 on: June 21, 2009, 02:57:05 PM »
Removing the task from exec's task list is about the only thing you can do in those cases. The problem is that doing so doesn't really free up all of the resources the task was using.
int p; // A