Gareth Rees
aa4deca229
Avoid loose big-o usage.
...
Copied from Perforce
Change: 183454
ServerID: perforce.ravenbrook.com
2013-09-17 11:58:32 +01:00
Gareth Rees
c40a1e173e
Improvements to release notes.
...
Copied from Perforce
Change: 183407
ServerID: perforce.ravenbrook.com
2013-09-10 13:00:14 +01:00
Gareth Rees
ae39473509
Rename align_up and align macros in the scheme example as align_word and align_obj respectively.
...
Copied from Perforce
Change: 183392
ServerID: perforce.ravenbrook.com
2013-09-05 08:15:56 +01:00
Gareth Rees
ed4b4b6a1a
Detect clang/llvm and reject unsupported platforms at the configure stage.
...
Copied from Perforce
Change: 183338
ServerID: perforce.ravenbrook.com
2013-08-21 12:33:57 +01:00
Gareth Rees
6fcc24771d
Don't detect the compiler as gcc when it's actually clang. emit an error instead.
...
Copied from Perforce
Change: 183334
ServerID: perforce.ravenbrook.com
2013-08-20 17:10:36 +01:00
Gareth Rees
334bb97b71
Use $(make) literally in the rules (not via expansion of a variable) so as to support the --jobs option.
...
Copied from Perforce
Change: 183333
ServerID: perforce.ravenbrook.com
2013-08-20 17:06:23 +01:00
Richard Brooksby
55906e2b58
Fixing up build for test platform xci3gc, broken by os x threads development.
...
Enabling amcssth and awlutth tests for all platforms, since I believe these were fixed by OS X threads development.
Copied from Perforce
Change: 183118
ServerID: perforce.ravenbrook.com
2013-07-17 16:49:31 +01:00
Richard Brooksby
e913eba60e
Removing false comment about multiple thread registration, but see job003559.
...
Copied from Perforce
Change: 183114
ServerID: perforce.ravenbrook.com
2013-07-17 14:38:05 +01:00
Gareth Rees
eed91aa94e
Fix typo: "ldisstaleany" for "ldisstale".
...
Copied from Perforce
Change: 183102
ServerID: perforce.ravenbrook.com
2013-07-17 10:11:28 +01:00
Gareth Rees
4c14792217
Prot_siginfo_good and prot_signal are no longer needed on os x.
...
Copied from Perforce
Change: 183101
ServerID: perforce.ravenbrook.com
2013-07-17 10:10:57 +01:00
Richard Brooksby
1e28ab548b
Fixing mentions of mps_size_t to just size_t in the manual. the former doesn't exist.
...
Copied from Perforce
Change: 183089
ServerID: perforce.ravenbrook.com
2013-07-16 16:10:47 +01:00
Gareth Rees
c40afadc18
Document ap creation requirements in terms of mps_ap_create_k, not the deprecated mps_ap_create.
...
Copied from Perforce
Change: 183073
ServerID: perforce.ravenbrook.com
2013-07-16 13:38:18 +01:00
Richard Brooksby
3d63ac16de
Clarifying why ap protocol loops are very rare.
...
Copied from Perforce
Change: 183054
ServerID: perforce.ravenbrook.com
2013-07-16 11:12:16 +01:00
Gareth Rees
300370fa63
Improve allocation example so that it demonstrate aligning up the size. explain why the mps doesn't do this for you. fix typo in scanning chapter.
...
Copied from Perforce
Change: 183051
ServerID: perforce.ravenbrook.com
2013-07-16 10:45:05 +01:00
Richard Brooksby
4732a1bca7
Fixing sacss failure introduced in changelist 183045. alignments are unpacked from varargs as promoted to size_t, but mps_pf_align is a naked number literal, and so was passed as int, causing a corrupt alignemnt failure in sacss.
...
Copied from Perforce
Change: 183048
ServerID: perforce.ravenbrook.com
2013-07-15 17:24:55 +01:00
Gareth Rees
dfe11f4734
Correct pass_count to fail_count in testrun.bat.
...
locbwcss shouldn't fail if there are non-contiguous allocations. Those are perfectly legitimate (MVFF uses CBS, which needs to allocate nodes in its splay tree).
Copied from Perforce
Change: 183047
ServerID: perforce.ravenbrook.com
2013-07-15 17:09:39 +01:00
Gareth Rees
e5b2ee54cd
Three test cases assumed that mps_pf_align is always equal to sizeof(void *), but this isn't true on platform w3i3mv where sizeof(void *) is 4 and mps_pf_align is 8. remove the assumption from these test cases.
...
Copied from Perforce
Change: 183045
ServerID: perforce.ravenbrook.com
2013-07-15 16:54:10 +01:00
Gareth Rees
ca777655bc
Improve reporting of test failures on windows, so that the continuous integration is helpful.
...
Copied from Perforce
Change: 183043
ServerID: perforce.ravenbrook.com
2013-07-15 16:39:22 +01:00
Gareth Rees
335edef764
Avoid calling abort() on windows when running the test suite, so that the test suite doesn't get suspended waiting for someone to press a button.
...
Copied from Perforce
Change: 183041
ServerID: perforce.ravenbrook.com
2013-07-15 15:37:22 +01:00
Gareth Rees
69fd7d4049
It's no longer necessary to build the manual, but it is necessary to update the release notes.
...
Copied from Perforce
Change: 183010
ServerID: perforce.ravenbrook.com
2013-07-11 17:19:46 +01:00
Gareth Rees
2c022cccf1
Bring release notes up to date.
...
Copied from Perforce
Change: 183008
ServerID: perforce.ravenbrook.com
2013-07-11 16:44:40 +01:00
Richard Brooksby
839c44c698
Added note about why we don't check that we're the only exception port before sending a reply.
...
Copied from Perforce
Change: 183006
ServerID: perforce.ravenbrook.com
2013-07-11 16:22:52 +01:00
Richard Brooksby
44d206b27c
Adding missing #endif caused by merge error. oops.
...
Copied from Perforce
Change: 183004
ServerID: perforce.ravenbrook.com
2013-07-11 16:08:42 +01:00
Richard Brooksby
f737f311ab
Merging branch/2013-06-18/macosx-threads back to master.
...
Copied from Perforce
Change: 183002
ServerID: perforce.ravenbrook.com
2013-07-11 15:55:58 +01:00
Richard Brooksby
66bf8d9ce6
Adding awlutth to regular test cases on os x.
...
Copied from Perforce
Change: 183000
ServerID: perforce.ravenbrook.com
2013-07-11 15:53:59 +01:00
Richard Brooksby
fdab3a6795
Documentation and commentary clarifications in response to code review < https://info.ravenbrook.com/mail/2013/07/11/13-17-56/0/ >.
...
Copied from Perforce
Change: 182999
ServerID: perforce.ravenbrook.com
2013-07-11 15:44:19 +01:00
Gareth Rees
227f03cda5
Small fixes following review < https://info.ravenbrook.com/mail/2013/07/11/13-17-56/0/ >.
...
Copied from Perforce
Change: 182993
ServerID: perforce.ravenbrook.com
2013-07-11 14:17:17 +01:00
Gareth Rees
3017f9b480
Changes from review < https://info.ravenbrook.com/mail/2013/07/10/14-38-35/0/ >.
...
Copied from Perforce
Change: 182986
ServerID: perforce.ravenbrook.com
2013-07-10 15:37:27 +01:00
Richard Brooksby
0ebb152f41
Improving references to documentation and source code.
...
Copied from Perforce
Change: 182983
ServerID: perforce.ravenbrook.com
2013-07-10 14:12:46 +01:00
Richard Brooksby
6cfd6d75c9
Reducing unnecessary copying of thread states by passing a pointer to the state in the mutator fault context.
...
Copied from Perforce
Change: 182980
ServerID: perforce.ravenbrook.com
2013-07-05 17:43:14 +01:00
Gareth Rees
5467652d4a
Fix typo: it's mps_build, not mps_builder.
...
Copied from Perforce
Change: 182943
ServerID: perforce.ravenbrook.com
2013-07-05 12:00:42 +01:00
Bruce Mitchener
7162dfcad2
Don't define _gnu_source if already defined.
...
When using the build method of including the MPS directly into
one's own sources, that build system may already define _GNU_SOURCE
causing a warning here about re-defining it.
Copied from Perforce
Change: 182941
ServerID: perforce.ravenbrook.com
2013-07-05 10:21:50 +01:00
Richard Brooksby
68b6400ebb
Fixing grammar problem in mps contributions agreement.
...
Adding link to guide.impl.c.format.
Copied from Perforce
Change: 182939
ServerID: perforce.ravenbrook.com
2013-07-05 10:04:47 +01:00
Richard Brooksby
7b13ef3df7
Adding symlink from contributing to contributing.rst to make it easier to find for people used to the gnu conventions.
...
Copied from Perforce
Change: 182937
ServerID: perforce.ravenbrook.com
2013-07-05 09:57:06 +01:00
Richard Brooksby
65a16895e8
Adding "contributing to the mps" that will show up on github pull requests.
...
Copied from Perforce
Change: 182936
ServerID: perforce.ravenbrook.com
2013-07-05 09:55:04 +01:00
Richard Brooksby
051e9c249e
Enabling keyword expansion on new files.
...
Copied from Perforce
Change: 182934
ServerID: perforce.ravenbrook.com
2013-07-05 01:56:38 +01:00
Richard Brooksby
b71af4dbe4
Fixing a couple of comments that are out of date.
...
Copied from Perforce
Change: 182932
ServerID: perforce.ravenbrook.com
2013-07-05 01:53:51 +01:00
Richard Brooksby
afe6da02e3
Updating "signal handling issues" to "signal and exception handling issues" and documenting the situation with os x threading.
...
Copied from Perforce
Change: 182930
ServerID: perforce.ravenbrook.com
2013-07-05 01:09:29 +01:00
Richard Brooksby
636aece062
Catch-up merge from master to macosx-threads branch.
...
Copied from Perforce
Change: 182928
ServerID: perforce.ravenbrook.com
2013-07-05 00:56:22 +01:00
Richard Brooksby
d7c130af26
Lots of tidying up, deleting unnecessary code, and adding documentation.
...
Copied from Perforce
Change: 182926
ServerID: perforce.ravenbrook.com
2013-07-05 00:36:13 +01:00
Richard Brooksby
b471aeb616
Registering exception handler for each thread, rather than the whole task.
...
This avoids the need to forward exception messages to the debugger, since we can reasonably insist that we're the first handler in the chain for each thread.
Copied from Perforce
Change: 182925
ServerID: perforce.ravenbrook.com
2013-07-04 22:58:34 +01:00
Richard Brooksby
d8504fb9bb
Minor tidying and improved documentation in the leader comment.
...
Copied from Perforce
Change: 182924
ServerID: perforce.ravenbrook.com
2013-07-04 22:11:55 +01:00
Gareth Rees
64c1719113
Move all signal handling issues to the "signal handling issues" section.
...
Copied from Perforce
Change: 182919
ServerID: perforce.ravenbrook.com
2013-07-04 15:12:21 +01:00
Gareth Rees
8e6a6b8038
Valgrind is a better example of a library using sigusr1 and sigusr2 than linuxthreads (which seems to be defunct).
...
Copied from Perforce
Change: 182916
ServerID: perforce.ravenbrook.com
2013-07-04 14:59:45 +01:00
Gareth Rees
07dbd0bb9f
Warn users not to mask sigxcpu and sigxfsz.
...
Copied from Perforce
Change: 182901
ServerID: perforce.ravenbrook.com
2013-07-03 11:21:14 +01:00
Gareth Rees
ef5a1aefb0
Improve the clarity of the documentation of arena states by adding a summary table.
...
Copied from Perforce
Change: 182899
ServerID: perforce.ravenbrook.com
2013-07-03 10:43:39 +01:00
Richard Brooksby
8b701281b6
Fixing alloc_table in awlutth.c so that it doesn't allocate a bogus extra word. not sure how it got like this.
...
Copied from Perforce
Change: 182896
ServerID: perforce.ravenbrook.com
2013-07-02 19:18:16 +01:00
Nick Barnes
54215a2392
Back out changes to master mps sources made inadvertently during a branch change.
...
Copied from Perforce
Change: 182891
ServerID: perforce.ravenbrook.com
2013-07-02 15:53:46 +01:00
Nick Barnes
fa3f8887c1
Branch for ap creation key development.
...
Copied from Perforce
Change: 182888
ServerID: perforce.ravenbrook.com
2013-07-02 14:48:25 +01:00
Richard Brooksby
641995b424
Fixing minor linux build error left over from dl's debugging.
...
Copied from Perforce
Change: 182884
ServerID: perforce.ravenbrook.com
2013-07-01 20:51:21 +01:00