If an Object can be created or released by a call to IExec->AllocSysObject(), then it is best to use that means to get a new Object.
The old CreateMsgPort() nowadays calls AllocSysObjectTags(ASOT_PORT, ...), so it is slower anyway.
The same goes for DOS Objects. Use the preferred means if you want to keep up with evolution.
[edit: Fixed function nameS]
How to turn off deprecated warnings
- tonyw
- AmigaOS Core Developer
- Posts: 1479
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: How to turn off deprecated warnings
cheers
tony
tony