Welcome, Guest. Please login or register.

Author Topic: Amiga multi-tasking....Can't do anything else when copying files...  (Read 4106 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Lack of async operations in Workbench aside, using the internal IDE interface requires use of the CPU, and the filesystem process runs at priority 10.

If you really must be able to use some application or shell comfortably while such large copy is in progress, you can do it by raising the priority of the processes in question. Running them at priority 11 should help. Obviously this only works for the interactive processes, anything consuming tons of CPU time should not be adjusted.

BTW. Is 3.9 AsyncWB really stable? I remember talk of some nasty bugs in it.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Amiga multi-tasking....Can't do anything else when copying files...
« Reply #1 on: December 25, 2008, 01:23:50 PM »
@kolla
Quote
how do I know that a file is a hard link in the first place?

AmigaOS API is a bit screwed here.

The only dos.library level solution is to ExNext/ExAll the parent directory.

For softlinks you can also ACTION_LOCATE_OBJECT the specific name. If you get an error and Result2 is ERROR_IS_SOFT_LINK then it is a softlink. If the packet succeeds you must free the lock with ACTION_FREE_LOCK.

As for the dir and list commands, they just don't support links.