| Title | Manual claims SNC allocation point requires MPS_KEY_RANK |
| Status | closed |
| Priority | nice |
| Assigned user | Gareth Rees |
| Organization | Ravenbrook |
| Description | See [1]: "When creating an allocation point on an SNC pool, mps_ap_create_k() requires one keyword argument: MPS_KEY_RANK ... It must be mps_rank_exact()." Is this true? If so, it seems silly. There should be a default value. |
| Analysis | It's not true: MPS_KEY_RANK is optional and defaults to mps_rank_exact(); see rankBufInit [2]. |
| How found | inspection |
| Evidence | [1] <http://www.ravenbrook.com/project/mps/master/manual/html/pool/snc.html>[2] < http://www.ravenbrook.com/project/mps/master/code/buffer.c> |
| Created by | Gareth Rees |
| Created on | 2015-08-26 11:30:31 |
| Last modified by | Gareth Rees |
| Last modified on | 2015-08-26 12:31:03 |
| History | 2015-08-26 GDR Created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 188178 | closed | 2015-08-26 12:31:03 | Gareth Rees | Keyword argument MPS_KEY_RANK is optional when creating an allocation point for an SNC pool. |